I need a cl command to copy from AS400 to PC file

5 pts.
Tags:
AS/400 commands
CL Commands
Hello, I am in need of a CL command that will copy a file from my AS400 to a flat text file for use in a PC application. I Mapped a drive through windows to a folder (EXPORT) at the root level of the AS400. I have an RPG program that creates some output to a file/member. I then need a CL command that will convert the file/member to a flat text file in the EXPORT folder. I will then use the text file in a windows application for EDI translation. Thanks in advance for your help. Gary

Answer Wiki

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

CPYTOPCD?
——————

Or CPYTOIMPF, which has more flexibility and is better because it works with the entire IFS and not just the /QDLS file system.

CWC
__________

you can also use the FTP

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