The SYSVFOR macro generates a report line for each instance of a segment type within the current SMF record.
This macro supports two explicit arguments:
Name of the desired segment
Name of the report to generate
Before you invoke this SYSVFOR macro, set the following global variables in the SET-OFFSETS subroutine, which are invoked internally through the SELECT-REC and SELECT-BY-TIME subroutines.
Sets the number of segments in the record.
Sets the length of the segment type.
Sets the offset within the SMF record to the first byte of the first segment. Calculate the offset from SMFHSI, which is the first byte following the RDW.
For SMF records, such as SYSVIEW CMCR that provide “triplets” containing offsets relative to the RDW, set the SEG_OFFSET to four less than the provided value. The SELECT-REC subroutine code in macro SYSVPROC does this set for each of the segment types defined in any of the provided SMF record types.
This following macro steps through all of the SMF74B segments and issues PRINT EXTRACT for each such segment found.
%SYSVFOR SMF74B EXTRACT
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |