CL Command Reference - PRTCMNTRC
CL Command List > PRTCMNTRC Reference
Description:
The Print Communications Trace (PRTCMNTRC) command transfers the communications trace data for the specified line, network interface description, or network server description to a spooled file or an output file.
The PRTCMNTRC command can also be used to format communications trace data that was previously dumped to a stream file using the Dump Communications Trace (DMPCMNTRC) command.
Restrictions:
. You must have service (*SERVICE) special authority, or be authorized to the Service Trace function of Operating System through iSeries NavigatorĄ¯s Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_SERVICE_TRACE, can also be used to change the list of users that are allowed to perform trace operations.
. The trace data for network server description traces can only be transferred to a spooled file. The trace data cannot be transferred to an output file. There are no formatting options available.
. The following user profiles have authority to this command:
¨C QSECOFR
¨C QSRV
Examples:
PRTCMNTRC CFGOBJ(*QESLINE) CFGTYPE(*LIN)
This command prints communications trace data for line description QESLINE.