LAN Configuration and Management Manual

SCF Commands for the SLSA Subsystem
LAN Configuration and Management Manual520469-012
4-148
TRACE SAC Command
Considerations
You can initiate or terminate a SAC while it is in any state. The trace on a SAC is
terminated automatically when:
It is deleted along with its parent adapter.
Its ownership switches to a different processor.
The trace file becomes full and no WRAP option has been specified when the
trace was initiated.
You can have a maximum of 64 open traces for SAC, PIF, and LIF objects in a
single processor.
If TO file-spec is specified, a new trace is initiated unless the file-spec is invalid,
the file cannot be opened, or trace is already active for the SAC.
If TO file-spec and STOP are both omitted, the TRACE command modifies the
trace currently in progress, if any.
If TO file-spec is omitted and STOP is specified, the TRACE command stops the
trace currently in progress, if any.
Example
This example traces DIH state machine operations and messages between a
LANMON and DIH for the SAC named G11123.0. The maximum length of the traced-
data record is 2048 bytes. The information is saved in the file named TRFIL1.
TRACE SAC $ZZLAN.G11123.0, RECSIZE 2048, &
SELECT (SMACH, LMOMSG), TO $M2.SUBV.TRFIL1
RXDATA 17 Trace SAC object inbound data
LMOMSG 18 Trace messages between LANMON and DIH
for SAC objects
ERROR 19 Trace DIH errors for SAC object
Table 4-6. select-spec for a SAC object (page2of2)
Keyword Number Meaning