RATE THIS ANSWER
0
Click to Vote:
0
0
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?
- Phil
================================
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)
DTAFMT(*FIXED) STRDLM(*NONE)
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
Last Answered:
Jul 2 2009 1:54 PM GMT by VGP 
35 pts.