Start or modify a buffer contents trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--BUF---------------> .-,--AMOUNT--=--PARTIAL-----. >--,--ID--=--node_name--+---------------------------+-----------> '-,--AMOUNT--=--+-FULL----+-' '-PARTIAL-' .-,--IDTYPE--=--RESOURCE-----. .-,--SAVE--=--NO------. >--+----------------------------+--+---------------------+------> '-,--IDTYPE--=--+-CP-------+-' '-,--SAVE--=--+-NO--+-' +-SSCP-----+ '-YES-' '-RESOURCE-' .-,--SCOPE--=--ONLY-----. >--+-----------------------+----------------------------------->< '-,--SCOPE--=--+-ONLY-+-' '-ALL--'
Start or modify a communication network management trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--CNM---------------> >--,--ID--=--+-PDPIUBUF-+-------------------------------------->< '-SAWBUF---'
Start or modify a user Exit buffer trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--EXIT--------------> >--,--ID--=--ISTEXCAA-------------------------------------------> >--,--OPTION--=--+-ALL--------------------+-------------------->< +-option-----------------+ +-(--option--)-----------+ | .-,------------. | | V | | '-(----+-ACCTING--+-+--)-' +-ADJSSCP--+ +-ALIAS----+ +-ALS------+ +-BEGIN----+ +-END------+ +-GWPATH---+ +-INITAUTH-+ +-REPL-----+ +-SECAUTH--+ +-VRSEL----+ '-XRF------'
>>-MODIFY-- --procname--,--TRACE--,--TYPE--=--EXIT--------------> >--,--ID--=--ISTEXCCS-------------------------------------------> >--,--OPTION--=--+-ALL--------------------+-------------------->< +-option-----------------+ +-(--option--)-----------+ | .-,------------. | | V | | '-(----+-BEGIN----+-+--)-' +-CONNSTAT-+ +-DYNA_XID-+ +-PRED_XID-+ '-END------'
>>-MODIFY-- --procname--,--TRACE--,--TYPE--=--EXIT--------------> >--,--ID--=--ISTEXCDM-------------------------------------------> >--,--OPTION--=--+-ALL--------------------+-------------------->< +-option-----------------+ +-(--option--)-----------+ | .-,------------. | | V | | '-(----+-BEGIN----+-+--)-' +-INITAUTH-+ +-ADS_SEL--+ +-BN_SEL---+ +-CDS_SEL--+ +-CRR_SEL--+ +-ICN_SEL--+ +-REPL-----+ '-END------'
Start or modify a generalized PIU trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--GPT---------------> >--,--ID--=--node_name------------------------------------------> >--+-------------------------------------------+----------------> '-,--ALSNAME--=--adjacent_link_station_name-' .-,--IDTYPE--=--RESOURCE-----. .-,--SCOPE--=--ONLY-----. >--+----------------------------+--+-----------------------+--->< '-,--IDTYPE--=--+-CP-------+-' '-,--SCOPE--=--+-ONLY-+-' +-SSCP-----+ '-ALL--' '-RESOURCE-'
Start or modify an input/output trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--IO----------------> .-,--IDTYPE--=--RESOURCE-----. >--,--ID--=--node_name--+----------------------------+----------> '-,--IDTYPE--=--+-CP-------+-' +-SSCP-----+ '-RESOURCE-' .-,--SAVE--=--NO------. .-,--SCOPE--=--ONLY-----. >--+---------------------+--+-----------------------+---------->< '-,--SAVE--=--+-NO--+-' '-,--SCOPE--=--+-ONLY-+-' '-YES-' '-ALL--'
Start or modify an input/output trace for a TRLE with the DATAPATH operand coded: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--IO----------------> .-,--IDTYPE--=--RESOURCE-. >--,--ID--=--trle_name--+------------------------+--------------> '-,--IDTYPE--=--RESOURCE-' >--+------------------------------------+-----------------------> '-,DEVICE--=--+-ALL----------------+-' '-hex_device_address-' .-,--LENGTH--=--272-------------. .-,--SAVE--=--NO------. >--+-------------------------------+--+---------------------+---> '-,--LENGTH--=--number_of_bytes-' '-,--SAVE--=--+-NO--+-' '-YES-' .-,--SCOPE--=--ONLY-----. >--+-----------------------+----------------------------------->< '-,--SCOPE--=--+-ONLY-+-' '-ALL--'
Start or modify a module trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--MODULE------------> >--,--OPTION--=--+-ALL----------------------+------------------>< +-option-------------------+ +-(--option--)-------------+ | .-,--------------. | | V | | '-(----+-COMMAND----+-+--)-' +-CONNECTION-+ +-DEFINITION-+ +-INTERFACES-+ +-MANAGEMENT-+ +-NOEXIT-----+ +-PURGE------+ '-SESSION----'
Start or modify an NCP line trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--LINE--------------> .-,--COUNT--=--ALL-----------------. >--,--ID--=--line_name--+----------------------------------+--->< '-,--COUNT--=--+-ALL-------------+-' '-number_of_bytes-'
Start or modify a 3710 Network Controller line trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--NETCTLR-----------> >--,--ID--=--pu_name--,--LINE--=--line_name---------------------> >--,--PU--=--3710_pu_name--+------------------------+---------->< '-,--FRAMES--=--+-ALL--+-' '-DATA-'
Start or modify OSA-Express2 diagnostic data synchronization for an OSA-Express2 adapter: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--QDIOSYNC----------> .-,--ID--=--*-------------. >--+-------------------------+----------------------------------> '-,--ID--=--+-*---------+-' '-trle_name-' .-,--OPTION--=--ALLINOUT-----. >--+----------------------------+-------------------------------> '-,--OPTION--=--+-ALLIN----+-' +-ALLINOUT-+ +-ALLOUT---+ +-IN-------+ +-INOUT----+ '-OUT------' .-,--SYNCID--=--trle_name--. .-,--SAVE--=--NO------. >--+--------------------------+--+---------------------+------->< '-,--SYNCID--=--identifier-' '-,--SAVE--=--+-NO--+-' '-YES-'
Start the APPN route selection trace in a network node: (1) >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--ROUTE-------------> .-,--BFRNUM--=--100---------. (2) >--+---------------------------+------------------------------->< '-,--BFRNUM--=----buffers---'
Start or modify a scanner interface trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--SIT---------------> .-,--COUNT--=--ALL-----------------. >--,--ID--=--line_name--+----------------------------------+----> '-,--COUNT--=--+-ALL-------------+-' '-number_of_bytes-' >--+-------------------------------+--------------------------->< '-,--TRACEPT--=--trace_point_id-'
Start or modify an SMS (buffer use) trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--SMS---------------> .-,--ID--=--VTAMBUF-. >--+-------------------+---------------------------------------><
Start or modify a resource state trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--STATE------------><
>>-+-,--ID--=--node_name--| Operands used with ID |-+---------->< '-,--OPTION--=--+-ALL-----------------+----------' +-option--------------+ +-(--option--)--------+ | .-,---------. | | V | | '-(----+-ADJCP-+-+--)-' +-APPL--+ +-CDRM--+ +-CDRSC-+ +-GROUP-+ +-LINE--+ +-LNKST-+ +-LU----+ +-NCP---+ '-PU----'
Operands used with ID .-,--IDTYPE--=--RESOURCE-----. .-,--SAVE--=--NO------. |--+----------------------------+--+---------------------+------> '-,--IDTYPE--=--+-CP-------+-' '-,--SAVE--=--+-NO--+-' +-SSCP-----+ '-YES-' '-RESOURCE-' >--+---------------------------------------+--------------------| '-,--OPTION--=--+-ALL-----------------+-' +-option--------------+ +-(--option--)--------+ | .-,---------. | | V | | '-(----+-ADJCP-+-+--)-' +-APPL--+ +-CDRM--+ +-CDRSC-+ +-GROUP-+ +-LINE--+ +-LNKST-+ +-LU----+ +-NCP---+ '-PU----'
Start or modify a transmission group trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--TG----------------> >--,--ID--=--line_name-----------------------------------------><
>>-MODIFY-- --procname--,--TRACE--,--TYPE--=--TSO---------------> >--,--ID--=--tso_user_id---------------------------------------><
Start or modify the VTAM internal trace: >>-MODIFY-- --procname--,--TRACE--,--TYPE--=--VTAM--------------> >--+-----------------------------------------------+------------> | .-,--BFRNUM--=--2------. | '-,--MODE--=--+-EXT--+----------------------+-+-' | '-,--BFRNUM--=--number-' | '-INT--+------------------+-----' '-,--SIZE--=--size-' >--+--------------------------------------------------------------+->< | (1) | +-,--SUBTRACE=ARBP,OPTION--=--+-HPR---------------+------------+ | +-ALL---------------+ | | +-hprgrpopt---------+ | | | (2) | | | +-(..,HPR,..)-------+ | | '-(..,hprgrpopt,..)-' | | (3) | +-,--SUBTRACE=DIO,OPTION--=--+-CIA---------------+-------------+ | +-ALL---------------+ | | +-ciagrpopt---------+ | | | (4) | | | +-(..,CIA,..)-------+ | | '-(..,ciagrpopt,..)-' | | (5) | +-,--SUBTRACE--=--+-TGVC-+--,--OPTION--=--+-SSCP-------------+-+ | '-TREE-' +-ALL--------------+ | | +-groupopt---------+ | | | (6) | | | +-(..,SSCP,..)-----+ | | '-(..,groupopt,..)-' | '-,--OPTION--=--+-ALL--------------------+---------------------' +-option-----------------+ +-(--option--)-----------+ | .-,------------. | | V | | '-(----+-API------+-+--)-' +-APIOPTS--+ +-APPC-----+ +-APPCOPTS-+ +-CFS------+ +-CIA------+ +-CIO------+ +-CMIP-----+ +-CPCPOPTS-+ +-CSM------+ +-CSMOPTS--+ +-DLUROPTS-+ +-EEOPTS---+ +-ESC------+ +-HPDTOPTS-+ +-HPR------+ +-HPROPTS--+ +-LCS------+ +-LCSOPTS--+ +-LOCK-----+ +-MSG------+ +-NRM------+ +-PIU------+ +-PSS------+ +-QDIOOPTS-+ +-SMS------+ +-SSCP-----+ +-STDOPTS--+ +-TCP------+ +-TCPOPTS--+ +-VCNS-----+ +-XBUF-----+ +-XCF------+ '-XCFOPTS--'
Operand | Abbreviation |
---|---|
MODIFY | F |
ALSNAME | ALS |
AMOUNT=FULL | AMT=F |
AMOUNT=PARTIAL | AMT=P |
OPTION | OPT |
OPTION=COMMAND | OPT=CMD |
OPTION=CONNECTION | OPT=CON |
OPTION=DEFINITION | OPT=DEF |
OPTION=INTERFACES | OPT=INT |
OPTION=MANAGEMENT | OPT=MGMT |
OPTION=SESSION | OPT=SES |
SAVE=YES | SAVE |
SCOPE=ALL | EVERY or E |
SCOPE=ONLY | NONE |
TRACES | TRACE |
When using an abbreviation in place of an operand, code the abbreviation exactly as shown in the table. For example, when coding the abbreviation for SCOPE=ALL, code only EVERY or E. Do not code SCOPE=E.
The MODIFY TRACE command starts traces or modifies the parameters for currently running traces. VTAM® traces are also started with the TRACE start option, as described in the z/OS Communications Server: SNA Resource Definition Reference.
Activation and use of VTAM traces have dependencies on the options used to start the system trace facility in each operating system environment. See the z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures for a complete description of the system trace facility requirements, when to use these traces, and how to interpret the results.
General PIU trace (GPT) records are printed by the trace analysis program (ACFTAP) utility. For more information about ACFTAP, see z/OS Communications Server: ACF/TAP Trace Analysis Handbook.
If procname in the START command was startname, startname must be specified for procname.
The LU can be traced over multiple connections; however, to do so, you must enter a separate command for each connection.
The command fails if ISTAPNPU is specified, or if ISTAPNPU is used by default because it is the only entry in the ALS list.
If no ALS list exists for the resource, specify the adjacent link station on the ALSNAME operand.
Use the DISPLAY ID=lu_name,SCOPE=ALL command to display all sessions for an independent LU and which adjacent link station list is used for each session.
You can run a partial buffer contents trace and a full buffer contents trace at the same time for different resources. (Issue a separate MODIFY TRACE command for each resource.) For example, you can start a partial buffer contents trace for an application program, with partial buffer contents tracing for some resources in session with the application program and full buffer contents tracing for other resources in session with the application program. When the level of tracing differs between two resources on opposite ends of a session (one is partial and the other is full), full buffer tracing is used.
When you specify a value in the range of 2 - 50, VTAM accumulates approximately 8 K of external trace data before sending the data to GTF.
If 0 is specified or there is no buffer available for the trace record, VTAM sends each trace record to GTF as it is recorded. This can incur a significant system overhead, but might be necessary if you need individually timestamped records.
If external trace recording is already active, and the new value specified for BFRNUM is less than the existing value, the number of buffers is not changed; if the new value is greater than the existing value, the number of the buffers is increased.
If you omit the BFRNUM option initially, the default for the maximum number of buffers is 100. After the APPN route selection trace is started, the BFRNUM operand does not have a default value. If successive MODIFY TRACE,TYPE=ROUTE commands are issued, the BFRNUM specification remains the same until you respecify it on a MODIFY command.
If the BFRNUM value is too small, trace information might be lost as a result of wraparound in the route selection trace table. Also, if the BFRNUM value specified on the MODIFY TRACE,TYPE=ROUTE command is smaller than the previous BFRNUM value, information is lost because the existing trace table is freed. If a MODIFY TRACE,TYPE=ROUTE command is entered with a BFRNUM value larger than the previous BFRNUM value, however, the storage allocated for the trace table will not be freed and additional buffers will be allocated as needed up to the new limit. If an attempt to allocate an additional block of trace table storage fails because of insufficient storage, the route selection trace table size might not reach the maximum size that you requested.
Names of various types of resources can be specified, depending on the value of the TYPE operand. The different resources and the traces that can be specified for them (with the TYPE operand) are shown in Figure 1 and are described in the following information.
For TYPE=BUF, TYPE=IO, TYPE=GPT, or TYPE=STATE, the name can be a network-qualified name. If name is an ACB name, and the ACB name matches the name on the APPL definition statement, then you can use a network-qualified ACB name.
For TYPE=BUF, TYPE=IO, or TYPE=STATE for a CDRM, you can specify a network-qualified name, but this does not remove the restriction that the non-network-qualified CDRM name must be unique across networks.
For TYPE=BUF, TYPE=IO, or TYPE=STATE, the name can be a model resource (APPL or CDRSC). If SCOPE=ALL is specified, the command also applies to the clone resources created from the model. If SCOPE=ONLY is specified, current clone resources are unaffected, but future clone resources will be affected when they are created.
For TYPE=QDIOSYNC, the ID operand specifies the TRLE name of the OSA-Express2 adapter for which diagnostic data synchronization and filtering is to be started. Specify ID=* to start QDIOSYNC for all TRLEs that define OSA-Express2 adapters. When ID=* is specified with SAVE=NO, ID=* indicates that the QDIOSYNC command is to be applied to all currently active TRLEs that define OSA-Express2 adapters. When ID=* is specified with SAVE=YES, ID=* indicates that the QDIOSYNC command is to be applied to all currently active TRLEs that define OSA-Express2 adapters and to those that are activated by this VTAM in the future.
When multiple QDIOSYNC NOTRACE or TRACE commands are specified, the last one that is applicable to a specific trle_name value
takes precedence. For example, TRACE TYPE=QDIOSYNC,ID=TRLE1 requests synchronization for a single OSA-Express2 adapter, but the request is canceled if it is followed by NOTRACE TYPE=QDIOSYNC, ID=*. TRACE TYPE=QDIOSYNC, ID=* requests synchronization of all OSA-Express2 adapters and, if it is followed by NOTRACE TYPE=QDIOSYNC,ID=TRLE1, results in synchronization of all OSA-Express2 adapters except TRLE1.APPL1 APPL PRTCT=ADRAPL01
The host CP can be traced as an application program minor node, and adjacent CPs can be traced as CDRSC minor nodes.
The SSCP and host CP are not valid resources for a GPT trace, but the adjacent CP can be traced as a CDRSC minor node.
ID cannot specify a line attached to a communication adapter or the name of a transmission group through a communication adapter.
You can record trace data internally and externally at the same time. If required, you can have different sets of trace options active for internal and external recording. VTAM always runs with MODE=INT and the default trace options, regardless of whether you request tracing.
You must run specific operating system utilities to trap, format, and view external trace output. See z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures for more information about use of these operating system utilities.
For TYPE=EXIT, OPTION specifies the functions of the session management exit (SME), directory services management exit (DSME), or configuration services XID exit for which tracing is to be started.
If more than one option is selected, separate them with commas and enclose the list in parentheses; for example OPTION=(BEGIN,INITAUTH,ACCTING).
For TYPE=MODULE, OPTION specifies the types of processing modules for which tracing is to be started.
If more than one option is selected, separate them with commas and enclose the list in parentheses; for example OPTION=(COMMAND,SESSION).
For TYPE=QDIOSYNC, OPTION specifies the scope and filter to be applied by the OSA-Express2 adapter. OPTION specifies the devices and the direction for which diagnostic data is to be gathered.
For TYPE=STATE, OPTION specifies the types of resources for which resource states are to be recorded. The data is recorded using the mode (internal or external) specified for the SSCP VIT option.
If more than one option is selected, separate them with commas and enclose the list in parentheses; for example OPTION=(APPL,GROUP,NCP).
For TYPE=VTAM, OPTION specifies the VTAM internal functions for which trace data is to be recorded.
The API, CIO, MSG, NRM, PIU, and SSCP VIT options are kept active by VTAM for internal recording (MODE=INT). If you stop them, VTAM immediately restarts them. For external recording (MODE=EXT), there are no default options. You can start or stop any options.
For TYPE=EXIT, it starts the tracing of all functions.
For TYPE=MODULE, it starts the tracing of all the modules shown on the OPTION operand for which TYPE=MODULE apply.
For TYPE=STATE, it starts the tracing of resource states for all of the resource types shown on the OPTION operand for which TYPE=STATE apply.
For TYPE=VTAM, it starts the VTAM internal trace for all of the VTAM internal functions for which the VTAM internal trace is available. Exception trace entries continue to be recorded.
Starting a module trace for any OPTION with TYPE=MODULE starts the tracing of the module exits also, unless you specify OPTION=NOEXIT.
You can also issue this command to update a previously saved trace command.
Use the MODIFY NOTRACE command to delete a saved trace command. VTAM will not delete a saved trace command until you issue a MODIFY NOTRACE command for it, even though the resource might be created and freed or activated and deactivated several times. Saved trace commands are lost when VTAM is halted and restarted.
SCOPE=ALL is not valid for the host PU trace or for the host intermediate routing node trace (ID=ISTIRN). If SCOPE=ALL is specified, VTAM issues a message and uses SCOPE=ONLY.
For an I/O trace of a channel-attached NCP, SCOPE=ALL provides a trace of all channel I/O, including network message traffic routed through the channel-attached NCP.
If the specified node is a model application, SCOPE=ALL turns on the trace option for the model application and starts traces for all existing dynamic applications created using the model. Traces will be started for future dynamic applications created using the model.
SCOPE=ONLY on a GPT trace command for the NCP PU limits the trace to RUs that flow on the SSCP-PU session for the NCP.
If the specified node is a model application, SCOPE=ONLY turns on the trace option for the model application. Traces for all existing dynamic applications created using the model are unaffected. Traces will be started for future dynamic applications created using the model.
If the VTAM internal trace is not already started and you omit this option, the default size is 4M.
After the VTAM internal trace is started, the SIZE operand does not have a default value. If successive MODIFY commands change other options, the SIZE specification remains the same until you respecify it on a MODIFY command.
If the SIZE value is too small, trace information might be lost as a result of wraparound in the internal trace table. Also, if the SIZE operand specifies a size different from the current table size, information is lost because the trace table is freed when another table with a new size is obtained. When an attempt to increase the SIZE value fails because of insufficient storage, the internal trace table size is set to the minimum size, not the size that you requested.
VTAM accepts any integer in the range 1 - 255; however, only a few values are defined by the NCP. For information about which values are defined and what they mean, see the NCP, SSP, and EP Diagnosis Guide.
The scanner interface trace and the NCP line trace can be started separately, and can be active at the same time.
If the line or its link station subsequently fails or is deactivated (that is, if the line is removed from the transmission group), the transmission group trace is ended, even though the transmission group continues to operate if there are any remaining lines in the transmission group. The trace can be restarted, naming another line in the transmission group.
The NCP line trace and the transmission group trace are mutually exclusive for a particular line. Therefore, when starting a transmission group trace, select a line that is not being used, and is not likely to be used, for a line trace.