Trying to get PRTCMNTRC *OUTFILE data to a network technician. However I cannot get it into a format which doesn't turn into hieroglyphics upon download.
DSPSYSVAL QCCSID
37
DSPJOB OPTION(*DFNA)
Language identifier . . . . . . . . . . . . . . . : ENU
Country or region identifier . . . . . . . . . . : US
Coded character set identifier . . . . . . . . . : 37
Default coded character set identifier . . . . . : 37
DLTF ROB/PRTCMNTRC
PRTCMNTRC CFGOBJ(LANLIN) CFGTYPE(*LIN) OUTPUT(*OUTFILE) OUTFILE(ROB/PRTCMNTRC) TCPIPADR('10.35.4.182')
PRTCMNTRC completed successfully for LANLIN type *LIN
DSPFD ROB/PRTCMNTRC
Coded character set identifier . . . . . . : CCSID 65535
DSPFFD ROB/PRTCMNTRC
All the character fields say
Coded Character Set Identifier . . . . . : 65535
CPYTOIMPF FROMFILE(ROB/PRTCMNTRC) TOSTMF('/home/ROB/prtcmntrc.csv') FROMCCSID(*FILE) STMFCCSID(*PCASCII) RCDDLM(*CRLF) ADDCOLNAM(*SYS)
DSPF STMF('/home/ROB/prtcmntrc.csv')
************Beginning of data**************
SCRCEN,SCRDAT,SCRTIM,SCSYSN,SCOBJ,SCTYPE,SCTSTS,SCPRTC,SCTSCN,...
"ñ","òððõññ","ðùòõõõ","ÇÄæÅÂò@@","ÓÁÕÓÉÕ@@@@","ñ","ñ","Ã","ñ",...
Tried it again with:
CPYTOIMPF FROMFILE(ROB/PRTCMNTRC) TOSTMF('/home/ROB/prtcmntrc.csv') FROMCCSID(*FILE) RCDDLM(*CRLF) ADDCOLNAM(*SYS)
This time the DSPF looks good, but the download looks even worse.
For download I am using FileZilla.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
As an Amazon Associate we earn from qualifying purchases.