|
I am a bit rusty with these ancient OSes. I need to convert a PF to a CSV file via a CL command. I know CPYTOSTMF and CPYTOIMPF work, but I am getting gobbly-gook (aka garbage) when I display the file through NetServer. I am sure it has to do with CCSID, but I am not sure on what to use. Here is my command(s): CPYTOSTMF FROMMBR('/qsys.lib/mplibr.lib/mppr108pf.file/mppr108pf.mbr') TOSTMF('/reports/mppr108.csv') STMFOPT(*REPLACE) STMFCODPAG(*PCASCII) ENDLINFMT(*CR) Object is not a file or is a file with attributes not supported by this command. Object not copied. CPYTOIMPF FROMFILE(MPLIBR/MPPR108PF) TOSTMF('/reports/mppr108.csv') MBROPT(*REPLACE) TOCCSID(437) RCDDLM(*CRLF)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.