OSI/FTAM and OSI/APLMGR SCF Reference Manual

PTrace Reference for Tandem FTAM
OSI/FTAM and OSI/APLMGR SCF Reference Manual421943-001
5-8
SELECT Command
The following command collects information on all activity of the FTAM initiator
$FTM1 on the \MARS system, sets a trace file record size of 2000 bytes, and stores the
trace in the file named TRACE01 on the same system:
TRACE PROCESS \MARS.$FTM1, SELECT ALL &
, RECSIZE 2000 &
, TO TRACE01
When you have collected the data you want, use the following command to stop the
trace:
TRACE PROCESS \MARS.$FTM1, STOP
When you have collected the data you want, stop the trace and start the PTrace utility, as
follows (using, in this example, an implicit RUN command):
PTRACE
PTrace - Trace Formatter - T9385D20 - (01JUN93) - (05APR93)
Copyright Tandem Computers Incorporated 1986-1993
After the PTrace product banner is displayed, issue the following PTrace command to
view the trace records for DSM and ASN1 encoding and decoding activity stored in the
TRACE01 file:
FROM TRACE01;SELECT(DSM,ASN1); RECORD ALL
In the above example, all record types were written to the trace file. Therefore, the DSM
and ASN1 keywords were used in the PTrace command to specify the specific record
types desired for display.
The following command collects information only about the PROV activity of the
FTAM initiator $FTM1 and stores it in the file named TRACE02:
TRACE PROCESS $FTM1, SELECT PROV, TO TRACE02, RECSIZE 2000
When you have collected the data you want, stop the trace and start the PTrace utility.
To view the PROV activity records stored in the TRACE02 file, use the following
PTrace command:
FROM TRACE02;SELECT ALL; RECORD ALL
In the above example, only PROV records were written to the trace file. Therefore, the
PROV keyword does not need to be repeated in the PTrace command. (You could also
omit the SELECT ALL since that is the default.)
You can collect information on DSM requests to and responses from the APLMGR
process by using the following SCF TRACE command:
TRACE PROCESS $AMGR, SELECT DSM, TO TRACE03, RECSIZE 2000
When you have collected the data you want, stop the trace and start the PTrace utility.
To view the trace records you have collected, use the following PTrace command:
FROM TRACE03;SELECT ALL; RECORD ALL