Print CICS Trace (PRTCICSTRC)

Where allowed to run:
  • Batch job (*BATCH)
  • Interactive job (*INTERACT)
  • Batch program (*BPGM)
  • Interactive program (*IPGM)
  • Batch REXX procedure (*BREXX)
  • Interactive REXX procedure (*IREXX)
  • Using QCMDEXEC, QCAEXEC, or QCAPCMD API (*EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Print CICS Trace (PRTCICSTRC) command produces a job-oriented report from the CICS auxiliary trace user spaces. Entries are selected for inclusion in, or exclusion from, the report based upon a variety of job details and interval times.

Top

Parameters

Keyword Description Choices Notes
TRCUSRSPC Auxiliary Trace user space Element list Required, Positional 1
Element 1: Object name Character value
Element 2: Library name Character value, *LIBL
TRCFMT Message/data format *BASIC, *FULL, *NONE Optional, Positional 2
OPTION Trace entry type Values (up to 5 repetitions): *ALL, *ENTRY, *ERROR, *EVENT, *EXIT, *USER Optional, Positional 3
TRANID CICS Transaction Id Character value Optional, Positional 4
TERMID CICS Terminal Id Character value Optional, Positional 5
TRCNUM CICS Trace number Values (up to 25 repetitions): Hexadecimal value Optional, Positional 6
JOBNUM CICS Job number Decimal number Optional, Positional 7
PERIOD Time period of trace Element list Optional, Positional 8
Element 1: Start time and date Element list
Element 1: Start time Time, *AVAIL
Element 2: Start date Date, *BEGIN
Element 3: Ending time and date Element list
Element 1: End time Time, *AVAIL
Element 2: End date Date, *END
Top

Auxiliary Trace user space (TRCUSRSPC)

Specifies the name and location of the auxiliary trace user space object to report on.

Top

Message/data format (TRCFMT)

Specifies the type of format that is produced for this report. Possible values are:

Top

Trace entry type (OPTION)

Specifies the information being printed. Any combination, up to five, of the following may be selected.

Top

CICS Transaction Id (TRANID)

Specifies the transaction identifier that is to be used for producing the trace information.

Top

CICS Terminal Id (TERMID)

Specifies the terminal identifier that is to be used for producing the trace information.

Top

CICS Trace number (TRCNUM)

Specifies the trace numbers that are used for producing the trace information. Up to 25 may be specified.

Top

CICS Job number (JOBNUM)

Specify the six-digit number of a job to select. All six digits must be specified (use leading zeros, if necessary).

Top

Time period of trace (PERIOD)

Specifies the period of time for which the auxiliary trace entries in the specified user space object is shown. This parameter contains two lists of two elements each.

Top

Examples

None
Top

Error messages

Unknown
Top