5 pts.
 I need a cl command to copy from AS400 to PC file
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

Software/Hardware used:
ASKED: June 22, 2009  8:06 PM
UPDATED: June 23, 2009  3:03 PM

Answer Wiki:
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
Last Wiki Answer Submitted:  June 23, 2009  3:03 pm  by  Cwc   4,275 pts.
All Answer Wiki Contributors:  Cwc   4,275 pts. , philpl1jb   44,070 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _