Hi Samule400
You can copy a db2/400 file using CPYTOIMPF to the ifs
The defaults are for a CVS file .
Leave the to data base file blank
Use the to stream file to identify the path and ifs file name -- included the .cvs
Phil
***************
Vlad
Please post this as a new question, so that others can respond.
I know their are people with more CCSID experience than I have.
Incldue the CCSID of the file you're coping and if the stream file already exists.
Phil
Last Wiki Answer Submitted: September 25, 2009 3:02 pm by philpl1jb44,070 pts.
All Answer Wiki Contributors: philpl1jb44,070 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
I am trying to copy a db2/400 file to the IFS using CPYTOIMPF but getting the unreadalbe data. For example two char. fields containing ‘A’ and ’1′ got converted to ‘Áñ%’. I use the following for command:
FROMCCSID = *FILE
STMFCODPAG = *STMF
RCDDLM = *CRLF
DTAFMT = *FIXED
NULLIND = *NO
If I use STMFCODPAG =*PCASCII or *STDASCII it gives me “The CCSID or code page value is not valid. ” error.
Hello Phil ,
I am trying to copy a db2/400 file to the IFS using CPYTOIMPF but getting the unreadalbe data. For example two char. fields containing ‘A’ and ’1′ got converted to ‘Áñ%’. I use the following for command:
FROMCCSID = *FILE
STMFCODPAG = *STMF
RCDDLM = *CRLF
DTAFMT = *FIXED
NULLIND = *NO
If I use STMFCODPAG =*PCASCII or *STDASCII it gives me “The CCSID or code page value is not valid. ” error.
Thank you,
Vlad