Return to the CL Tips
Converting EBCDIC to CSV
Try using CPYTOIMPF to put in a folder.
Something like
CPYTOIMPF FROMFILE(YourLib/YourFile) + TOSTMF(/QDLS/YourFolder/YourPCDoc) + RCDDLM(*CRLF) + DTAFMT(*DLM) + STRDLM('"') + FLDDLM(',') + DECPNT(*PERIOD)
This creates a CSV file in the folder. Then FTP this file.
[report a broken link by clicking here]