The PRINT command is processed like the EXTRACT command and also uses the CASFXSMF procedure. All selected records are written to SYSPRINT.
The following example requests a printout of up to 15 SMF records, types 4 through 6 and 20 and 26, for system SID1. The date of the SMF dump is January 18, 2008, and the time period to search for these records is 4 to 5 a.m. Records with timestamps exactly equal to 4 a.m. will be selected if they match any of the selected types; records with timestamps exactly equal to 5 a.m. will be excluded.
//jobname JOB job accounting parameters
//STEP0001 EXEC CASFXSMF,A='A', /* SYSOUT CLASS
// STEPLIB='CASFLOAD',
// SCDDSN='CAI.MSMF.SCDS'
PRINT FROM(011808 0400) TO(011808 0500) SID(SID1)
SELECT (4:6 20 26) COUNT(15).
/*
See Chapter 4 of this guide for a complete description of the PRINT command and its operands.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |