Return to the CL Tips
Copy a file to an CSV file
CPYTOIMPF FROMFILE(STLIB/STATEP2) + TOSTMF('QDLS/TXT/STATEP2') RCDDLM(*CRLF) COPY OBJ('QDLS/TXT/STATEP2') + TOOBJ('QDLS/TXT/STATEP2.CSV') + TOCODEPAGE(*PCASCII) DTAFMT(*TEXT)
[report a broken link by clicking here]