

Selective Processing of SMF Data › EXTRACT One Day's Data
EXTRACT One Day's Data
The following example extracts all SMF data on a given day for an SMF ID (SID).
//jobname JOB job accounting parameters
//STEP0001 EXEC CASFXSMF,A='A',PARM.STEP1='READ', (3)
// STEPLIB='CASFLOAD',
// SCDDSN='CAI.MSMF.SCDS'
//EXTRACT DD DISP=OLD, (1)
// DSN=CAI.MSMF.EXTRACT
//SYSIN DD *
EXTRACT DAY(012508) SID(SID1). (2)
/*
Note:
- Since the EXTRACT command does not specify the TODD name, the ddname EXTRACT automatically becomes the default. This is where extracted records will be written.
- Extract all SMF data for SID1 on January 25, 2008. If this job ran on January 26, 2008, then EXTRACT SID(SID1) YESTERDAY could have been used.
- For read-only execution, replace the EXEC statement with this statement containing the PARM to specify read-only access of the SCDS file.
See Chapter 4 of this guide for a complete description of the EXTRACT command and its operands.
Copyright © 2014 CA Technologies.
All rights reserved.
 
|
|