I'm trying to use CPYTOIMPF to extract the data in my table to a tab delimited text file. It seems to work okay, except that it keeps leaving out the last 2-3 records. Any ideas on why this might be happening? The command and parameters I'm using are below.
Code:
CPYTOIMPF FROMFILE(QTEMP/CUSTSEGH) TOSTMF(&STREAM) + MBROPT(*REPLACE) STMFCCSID(*PCASCII) + RCDDLM(*CRLF) STRDLM(*NONE) FLDDLM(*TAB) + ADDCOLNAM(*SQL)
Comment