Troubleshooting
Problem
This document describes how to capture a communications trace using commands and how to format it for ASCII. Many applications send and receive data in ASCII.
Resolving The Problem
This document describes how to capture a communications trace using commands and how to format it for ASCII. Many applications send and receive data in ASCII.
To delete the communications trace (if one is active), on the OS/400 command line type the following:
DLTCMNTRC CFGOBJ(linename) CFGTYPE(*LIN)
The following command starts a communications trace. For linename, specify the correct line description name. (If there is a considerable amount of data to trace, it may be necessary to increase the value of the MAXSTG parameter. If the communications buffer is not large enough, message CPF39A6 is issued. To resolve the problem, follow the recovery in the message.
STRCMNTRC CFGOBJ(linename) CFGTYPE(*LIN) MAXSTG(32M) USRDTA(*MAX)
The following commands stop the communications trace:
ENDCMNTRC CFGOBJ(linename) CFGTYPE(*LIN)
The following command spools the traces:
SBMJOB CMD(PRTCMNTRC CFGOBJ(linename) CFGTYPE(*LIN) CODE(*ASCII)
FMTTCP(*YES) FMTBCD(*NO)) JOB(PRTCMNTRC) JOBQ(QSYSNOMAX)
Historical Number
325916571
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1016286