If you can, post the command so we can see what it looks like. In the mean time, make sure that the STMFCODPAG parm is set to *PCASCII
The files should have the CVS extension
- Can you open the files using wordpad from the PC?
The file did have the CSV extension and I could not open it with excel but did not try workpad.
Here is my command:
CPYTOIMPF FROMFILE(FFX010AF) TOSTMF(‘ + ”” + %trimr(%triml(dirfile))
”” + ‘) MBROPT(*REPLACE) STMFCODPAG(*STMF) RCDDLM(*LF)
After I asked the question, I registered and then could see the answers for Sally for a TXT file. Randy suggested that I use STMFCODPAG(*STDASCII) and that worked for all 3 programs. I did have to delete or rename the previous file though.
Thanks all, Gail