Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
CFGOBJ | Configuration object | Name | Optional, Positional 1 |
FROMSTMF | From stream file | Path name | Optional |
CFGTYPE | Type | *LIN, *NWI, *NWS | Optional, Positional 2 |
OUTPUT | Output | *PRINT, *OUTFILE | Optional |
OUTFILE | File to receive output | Qualified object name | Optional |
Qualifier 1: File to receive output | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTMBR | Output member options | Element list | Optional |
Element 1: Member to receive output | Name, *FIRST | ||
Element 2: Replace or add records | *REPLACE, *ADD | ||
CODE | Character code | *EBCDIC, *ASCII, *CALC | Optional |
SLTLIND | Line description | Name, *ALL | Optional |
SLTCTLD | Controller description | Name, *ALL | Optional |
FMTSNA | Format SNA data only | *NO, *YES | Optional |
FMTRR | Format RR, RNR commands | *NO, *YES | Optional |
FMTTCP | Format TCP/IP data | *LINTYPE, *YES, *NO | Optional |
FMTLCP | Format LCP data | *YES, *NO | Optional |
FMTNCP | Format NCP data | *YES, *NO | Optional |
TCPIPADR | Format TCP/IP data by address | Element list | Optional |
Element 1: Source/destination IP address | Character value, *ALL | ||
Element 2: Source/destination IP address | Character value, *ALL | ||
SLTPORT | IP port number | Decimal number, *ALL | Optional |
FMTUI | Format UI data only | *NO, *YES | Optional |
FMTMAC | Format MAC or SMT data only | *NO, *YES | Optional |
FMTETH | Format Ethernet data only | *NO, *YES | Optional |
FMTCCD | Format call control data | *NO, *YES | Optional |
FMTBCD | Format broadcast data | *NO, *YES | Optional |
EXCLMI | Exclude LMI data | *NO, *YES | Optional |
FMTLMI | Format LMI data only | *NO, *YES | Optional |
FMTHPRIP | Format HPR over IP data only | *NO, *YES | Optional |
FMTLDLCIP | Format LDLC over IP data only | *NO, *YES | Optional |
Top |
Specifies the configuration object being traced. The object must be a line description, a network interface description, or a network server description.
Either the CFGOBJ and CFGTYPE parameters or the FROMSTMF parameter must be specified.
Top |
Specifies the path name of the stream file from which communications trace data is formatted. This file must have been created by running the Dump Communications Trace (DMPCMNTRC) CL command. Either the CFGOBJ and CFGTYPE parameters or the FROMSTMF parameter must be specified.
Top |
Specifies the type of configuration description that was traced.
Either the CFGOBJ and CFGTYPE parameters or the FROMSTMF parameter must be specified.
Top |
Specifies whether the output from the command is printed with the job's spooled output or sent to a database file.
Note: For network server description traces, *PRINT must be specified for this parameter.
Top |
Specifies the database file to which the output of the command is directed. If the file does not exist, this command creates a database file in the specified library. If the file is created, the public authority for the file is the same as the create authority specified for the library in which the file is created. Use the Display Library Description (DSPLIBD) command to show the library's create authority.
Qualifier 1: File to receive output
Qualifier 2: Library
Top |
Specifies the name of the database file member to which the output is directed when *OUTFILE is specified for the Output (OUTPUT) parameter.
Element 1: Member to receive output
If the member exists, you can add records to the end of the existing member or clear the existing member and add the records.
Element 2: Replace or add records
Top |
Specifies whether the extended binary-coded decimal interchange code (*EBCDIC) or the American National Standard Code for Information Interchange (*ASCII) character code is used on the line.
Top |
Specifies whether to format data for all lines or a specific line communicating on the network during a trace.
Top |
Specifies whether to format data for all controllers or a specific controller communicating on the network during a trace.
Top |
Specifies whether line protocol data or Systems Network Architecture (SNA) data is formatted. Line protocol data includes SDLC, X.25, Carrier Sense Multiple Access with Collision Detection (CSMA/CD), Ethernet DIX V2, DDI, wireless, and IBM Token-Ring Network (TRLAN).
Top |
Specifies whether receiver ready (RR) and receiver not ready (RNR) commands are formatted with other data.
Top |
Specifies whether line protocol data or Transmission Control Protocol/Internet Protocol (TCP/IP) data is formatted.
Note: If the trace data is being formatted from a stream file (FROMSTMF parameter), this parameter is ignored and TCP/IP data is formatted.
Top |
Specifies whether Link Control Protocol (LCP) data is included in the formatted communications trace.
Note: If FMTLCP, FMTNCP, and FMTTCP are all specified *NO when formatting data for a Point-to-Point Protocol (PPP) line, then asynchronous and unrecognized data will be placed in the spooled file. This is also the case if all are specified *YES (or *LINTYPE for FMTTCP). In all other cases asynchronous and unrecognized data will be omitted.
Top |
Specifies whether Network Control Protocol (NCP) data is included in the formatted communications trace.
Top |
Specifies an internet address pair for which TCP/IP data is formatted. Any values that are valid for IP address 1 are also valid for IP address 2.
The internet address is specified in the form, nnn.nnn.nnn.nnn, where nnn is a decimal number ranging from 0 through 255. An internet address is not valid if it has a value of all binary ones or all binary zeros for the network identifier (ID) portion or the host ID portion of the address.
For IPv6 (IP version 6) addresses, the form is xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, where x is any valid hexadecimal digit 0 through F.
Note: IPv6 addresses are only valid when formatting trace data from a stream file.
Element 1: Source/destination IP address
Element 2: Source/destination IP address
Top |
Specifies whether data for all internet protocol (IP) ports or only a single IP port is formatted.
Note: This parameter is valid only if FMTTCP(*YES) is specified.
Top |
Specifies whether line protocol data or unnumbered information (UI) data is formatted.
Top |
Specifies whether line protocol data or medium access control (MAC) or Station Management (SMT) data is formatted.
Top |
Specifies whether IEEE 802.3 data or Ethernet V2 data is formatted.
Top |
Specifies whether all network interface data or only Integrated Services Digital Network (ISDN) signalling data is formatted.
Top |
Specifies whether broadcast data and data received containing destination MAC addresses is formatted.
Top |
Specifies whether to exclude local management interface (LMI) data from the formatted output.
Note: You cannot specify *YES for both the EXCLMI and FMTLMI parameters.
Top |
Specifies whether local management interface (LMI) data is formatted.
Note: You cannot specify *YES for both the EXCLMI and FMTLMI parameters.
Top |
Specifies whether High Performance Routing Protocol (HPR) over IP data is included in the formatted communications trace.
Top |
Specifies whether Logical Data Link Control (LDLC) over IP data is included in the formatted communications trace.
Top |
PRTCMNTRC CFGOBJ(*QESLINE) CFGTYPE(*LIN)
This command prints communications trace data for line description QESLINE.
Top |
*ESCAPE Messages
Top |