Answer Wiki

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your response...

Discuss This Question: 3 &nbspReplies

There was an error processing your information. Please try again later.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

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

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

Share this item with your network:

To follow this tag...

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy