long sd_cust(int child, long skip_count) { FAKE_V_STR(C_ADDR_LEN, C_ADDR_SD, skip_count); FAKE_V_STR(C_CMNT_LEN, C_CMNT_SD, skip_count); ADVANCE_STREAM(C_NTRG_SD, skip_count); ADVANCE_STREAM(C_PHNE_SD, 3L * skip_count); ADVANCE_STREAM(C_ABAL_SD, skip_count); ADVANCE_STREAM(C_MSEG_SD, skip_count); return(0L); }
long sd_part(int /* child */, DSS_HUGE skip_count) { int i; for (i=P_MFG_SD; i<= P_CNTR_SD; i++) ADVANCE_STREAM(i, skip_count); ADVANCE_STREAM(P_CMNT_SD, skip_count * 2); ADVANCE_STREAM(P_NAME_SD, skip_count * 92); return(0L); }
long sd_psupp(int /* child */, DSS_HUGE skip_count) { int j; for (j=0; j < SUPP_PER_PART; j++) { ADVANCE_STREAM(PS_QTY_SD, skip_count); ADVANCE_STREAM(PS_SCST_SD, skip_count); ADVANCE_STREAM(PS_CMNT_SD, skip_count * 2); } return(0L); }
long sd_part(int child, long skip_count) { int i; for (i=P_MFG_SD; i<= P_CNTR_SD; i++) ADVANCE_STREAM(i, skip_count); FAKE_V_STR(P_CMNT_LEN, P_CMNT_SD, skip_count); ADVANCE_STREAM(P_NAME_SD, skip_count * 92); return(0L); }
long sd_psupp(int child, long skip_count) { int j; for (j=0; j < SUPP_PER_PART; j++) { ADVANCE_STREAM(PS_QTY_SD, skip_count); ADVANCE_STREAM(PS_SCST_SD, skip_count); } FAKE_V_STR(PS_CMNT_LEN, PS_CMNT_SD, skip_count); return(0L); }
long sd_supp(int /* child */, DSS_HUGE skip_count) { ADVANCE_STREAM(S_NTRG_SD, skip_count); ADVANCE_STREAM(S_PHNE_SD, 3L * skip_count); ADVANCE_STREAM(S_ABAL_SD, skip_count); ADVANCE_STREAM(S_ADDR_SD, skip_count * 9); ADVANCE_STREAM(S_CMNT_SD, skip_count * 2); ADVANCE_STREAM(BBB_CMNT_SD, skip_count); ADVANCE_STREAM(BBB_JNK_SD, skip_count); ADVANCE_STREAM(BBB_OFFSET_SD, skip_count); ADVANCE_STREAM(BBB_TYPE_SD, skip_count); /* avoid one trudge */ return(0L); }
long sd_line(int child, long skip_count) { int i,j; for (j=0; j < O_LCNT_MAX; j++) { for (i=L_QTY_SD; i<= L_RFLG_SD; i++) ADVANCE_STREAM(i, skip_count); } FAKE_V_STR(L_CMNT_LEN, L_CMNT_SD, skip_count); /* need to special case this as the link between master and detail */ if (child == 1) { ADVANCE_STREAM(O_ODATE_SD, skip_count); ADVANCE_STREAM(O_LCNT_SD, skip_count); } return(0L); }
long sd_line(int child, DSS_HUGE skip_count) { int i,j; for (j=0; j < O_LCNT_MAX; j++) { for (i=L_QTY_SD; i<= L_RFLG_SD; i++) if (scale >= 30000 && i == L_PKEY_SD) ADVANCE_STREAM64(i, skip_count); else ADVANCE_STREAM(i, skip_count); ADVANCE_STREAM(L_CMNT_SD, skip_count * 2); } /* need to special case this as the link between master and detail */ if (child == 1) { ADVANCE_STREAM(O_ODATE_SD, skip_count); ADVANCE_STREAM(O_LCNT_SD, skip_count); } return(0L); }
long sd_cust(int /* child */, DSS_HUGE skip_count) { ADVANCE_STREAM(C_ADDR_SD, skip_count * 9); ADVANCE_STREAM(C_CMNT_SD, skip_count * 2); ADVANCE_STREAM(C_NTRG_SD, skip_count); ADVANCE_STREAM(C_PHNE_SD, 3L * skip_count); ADVANCE_STREAM(C_ABAL_SD, skip_count); ADVANCE_STREAM(C_MSEG_SD, skip_count); return(0L); }
long sd_order(int /* child */, DSS_HUGE skip_count) { ADVANCE_STREAM(O_LCNT_SD, skip_count); if (scale >= 30000) ADVANCE_STREAM64(O_CKEY_SD, skip_count); else ADVANCE_STREAM(O_CKEY_SD, skip_count); ADVANCE_STREAM(O_CMNT_SD, skip_count * 2); ADVANCE_STREAM(O_SUPP_SD, skip_count); ADVANCE_STREAM(O_CLRK_SD, skip_count); ADVANCE_STREAM(O_PRIO_SD, skip_count); ADVANCE_STREAM(O_ODATE_SD, skip_count); return (0L); }
long sd_supp(int child, long skip_count) { ADVANCE_STREAM(S_NTRG_SD, skip_count); ADVANCE_STREAM(S_PHNE_SD, 3L * skip_count); ADVANCE_STREAM(S_ABAL_SD, skip_count); FAKE_V_STR(S_ADDR_LEN, S_ADDR_SD, skip_count); FAKE_V_STR(S_CMNT_LEN, S_CMNT_SD, skip_count); ADVANCE_STREAM(BBB_CMNT_SD, skip_count); ADVANCE_STREAM(BBB_JNK_SD, skip_count); ADVANCE_STREAM(BBB_OFFSET_SD, skip_count); ADVANCE_STREAM(BBB_TYPE_SD, skip_count); /* avoid one trudge */ return(0L); }
long sd_order(int child, long skip_count) { ADVANCE_STREAM(O_LCNT_SD, skip_count); ADVANCE_STREAM(O_CKEY_SD, skip_count); FAKE_V_STR(O_CMNT_LEN, O_CMNT_SD, skip_count); ADVANCE_STREAM(O_SUPP_SD, skip_count); ADVANCE_STREAM(O_CLRK_SD, skip_count); ADVANCE_STREAM(O_PRIO_SD, skip_count); ADVANCE_STREAM(O_ODATE_SD, skip_count); return (0L); }