× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.