SNMP Configuration and Management Manual
SNMP Agent PTrace Facility
SNMP Configuration and Management Manual—424777-006
6-7
NEXT Command
Considerations: PTrace FROM Command
•
The FROM command resets current session parameters to their default values. 
For more information, see the RESET Command in the PTrace Reference Manual.
•
The FROM command resets current SELECT options to their default values if the 
device type and subtype of the new trace file are different from the last trace file. 
If the device type and subtype of the new trace file are the same as the last trace 
file, the SELECT option is not reset.
•
The FROM command automatically displays the trace file header record (record 0) 
when it opens the new trace file.
•
The FROM command does not close a log file if one is specified.
Example: PTrace FROM Command
The following example closes the previous trace file (if any), opens the trace file called 
ZZSMPTRP in the subvolume SNMT101 in the current system and volume, resets 
session parameters to their defaults, and displays the trace file header record:
?FROM snmt101.zzsmptrp
Trace of: \NOVA.$ZSNMP, Type (31,30).
Ptrace Data File: $DATA5.SNMT101.ZZSMPTRP
Trace started: 11/19/97 11:27:50.33
First trace entry: 11/19/97 11:27:50.63
Last trace entry: 11/19/97 11:27:53.76
Trace file is in extended format.
Trace entry size limit: 0
Select options are reset.
NEXT Command
The NEXT command displays records starting from the next record in the trace file. 
The number of records displayed by a single NEXT command never exceeds the 
number set by the LIMIT command. Records that do not meet the current selection 
criteria are not counted and are not displayed.
count
specifies the number of records to be displayed. If count is omitted, one record is 
displayed.
AFTER [date]time
indicates that PTrace is to move to the first record whose timestamp is greater than 
or equal to the [date] time specified before selecting the next records for display.
N[EXT] [ count ] [ AFTER [date] time ]










