I am using the CPYFRMIMPF to copy data from a TXT file into a DB file. The delimiter is a ']' character. The command runs but no records are copied. The error says "0 records copied from member TXT. Copy command ended because of error". Upon further review I found "The copy did not complete for reason code 7. " The error " 7 - The FROMFILE numeric field *N contain blank characters, or other characters that are not valid for a numeric field."
I don't understand how an inbound field can be defined as numeric when it is a TXT file.
i-Series os400 V5R4
July 6, 2011 9:16 PM
August 28, 2013 2:58 PM