I am trying to copy a .csv file from the IFS to a DB file which has 3 alpha fields in it. The .csv file has 3 columns, each column contains both alpha and numeric values. That shouldn't matter though since my DB file is defined with all alpha fields. The alpha fields are all large enough to accomodate the 3 columns of the .csv file. WHen I do the copy, I get a message back saying 626 records copied, 40 records not copied becuse they did not mee the selection criteria.. It doesn't give me any indication of what is wrong with the 40 records. I have tried various combinations of RCDDLM(*CR, CRLF, LF, ALL, etc.), STRDLM, etc. How can I figure out what is wrong with the records that were not copied or how can I format my CPYFRMIMPF correctly.
CPYFRMIMPF FROMSTMF('/home/myfile.csv')
TOFILE(MYLIB/MYFILE)
MBROPT(*REPLACE)
RCDDLM(*CRLF)
DTAFMT(*DLM)
CPYFRMIMPF FROMSTMF('/home/myfile.csv')
TOFILE(MYLIB/MYFILE)
MBROPT(*REPLACE)
RCDDLM(*CRLF)
DTAFMT(*DLM)
Comment