Steve: Thanks for the tip, I never thought of doing that.....

--
Jim Oberholtzer
Agile Technology Architects

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Steve
Pavlichek
Sent: Monday, May 11, 2020 9:09 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: PRTCMNTRC *OUTFILE support.

When ever I do comm traces I save directly to ?.pcap? which can be directly
opened with wireshark.

TRCCNN SET(*OFF) TRCTBL(MYTRACECNN) OUTPUT(*STMF) TOSTMF('/trccnn.pcap'
*YES)

From: Rob Berendt<mailto:rob@xxxxxxxxx>
Sent: Monday, May 11, 2020 9:36 AM
To: Midrange Systems Technical
Discussion<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: PRTCMNTRC *OUTFILE support.

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

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.