Copying an externally-described file to the IFS

5 pts.
Tags:
Copying from iSeries to IFS
CPYTOIMPF
IFS
Hello, I need to copy several externally-described files to the IFS. What is the best way to copy an externally-described file on the iseries to the IFS on the same iseries? I am wanting the file on the IFS to be in either EBCDIC, ASCII, BINARY, or Comma Separated Variable format. I thought about using the CPYTOIMPF command for this, but I didn't know how the parameters needed to be to get the different formats. Thank you.
ASKED: November 25, 2008  10:13 PM
UPDATED: November 26, 2008  10:12 AM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

CPYTOIMPF is probably your best option. You’ll need to look at the following parameters :-

STMFCODPAG – ASCII / EBCDIC
DTAFMT – Delimited (CSV) / Fixed

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
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

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

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

REGISTER or login:

Forgot Password?
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

Thanks! We'll email you when relevant content is added and updated.

Following