The following example illustrates the use of a user exit written to separate SMF records by JOB name, and place them in separate output files. The user exit CASFXXIT contains logic to count the number of SMF type 14 and 15 records and write every 8th record to the output file.
//jobname JOB accounting information
//*
//STEP001 EXEC CASFXSMF,A='*'
//SMF01 DD DISP=(,CATLG),UNIT=SYSDA,DSN=CAIMICS.JOB01,
// SPACE=(CYL,(10,10),RLSE),
// DCB=(LRECL=32760,RECFM=VBS,BLKSIZE=32748)
//SYSIN DD *
EXTRACT SID(ALL) YESTERDAY EXIT(CASFXXIT) TODD(SMF01)
See Chapter 4 of this guide for a complete description of the EXTRACT command and its operands.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |