You can place previously dumped SMF data under CA SMF Director control manually (such as when logging tapes at a remote site) by using the following JCL and control statements:
//CASFCTL1 JOB (ACCTINFO),PGMR,CLASS=A,MSGCLASS=A
//*
//* THIS SAMPLE JCL ILLUSTRATES HOW CA SMF Director CONTROL
//* STATEMENTS CAN BE SPECIFIED.
//*
//* NOTE: REFER TO YOUR USER GUIDE
//* FOR FURTHER INFORMATION ABOUT:
//*
//* . CUSTOMIZING CA SMF Director
//* . SELECTIVE PROCESSING OF SMF DATA
//* . COMMAND REFERENCE
//*
//STEP1 EXEC PGM=SMFD,REGION=2048K
//STEPLIB DD DISP=SHR,DSN=CASFLOAD
//SCDS DD DISP=SHR,DSN=CORP.SMFD.SCDS
//SYSPRINT DD SYSOUT=*
//SYSXDIAG DD SYSOUT=*
//SYSIN DD *
*
* -----------------------------------------------------------------
* MANUALLY ADD SMF DATA INDEX INFORMATION TO THE CONTROL DATA SET
* FOR THE FOLLOWING DATA SETS FROM SYSID H002:
* 1. SYS4.SEPT.D093099 - 09/30/yyyy 16:30:58 TO 09/30/yyyy 16:59:58
* 2. SYS4.JUNE.D060100 - 06/01/yyyy 08:00:25 TO 06/02/yyyy 23:58:10
* -----------------------------------------------------------------
*
ADDX SID(H002) LOW(093099 163058) HIGH(093099 165958)
VOLUME(122318) FILESEQ(1) DUMPD(060300 013000)
DSNAME(SYS4.SEPT.D093099) UNIT(3490).
ADDX SID(H002) LOW(060100 080025) HIGH(060200 235810)
VOLUME(122316) FILESEQ(1) DUMPD(060300 013000)
DSNAME(SYS4.JUNE.D060100) UNIT(3490).
/*
//
CASFJCL target library member CASFCTL1 can be used as a prototype to create the above job stream. For a complete description of the ADDX control statement, see Chapter 4 of this guide.
To put existing SMF data under CA SMF Director control by copying the SMF records, CASFJCL member CASFDMP4 can be used as a prototype. The provided job stream shown below instructs CA SMF Director to locate the SMF data in data set CORP.YR1992.SMFDATA using the ddname SMFDATA, and copy it to the primary history file. During the copy process CA SMF Director automatically creates an index entry in the SCDS for the SMF records copied, thus producing an inventory of the SMF data.
//CASFDMP4 JOB... //STEP 1 EXEC PGM=SMFD,REGION=4096K //STEPLIB DD DISP=SHR,DSN=CASFLOAD //SCDS DD DISP=SHR,DSN=CORP.SMFD.SCDS //SYSPRINT DD SYSOUT=A //SYSXDIAG DD SYSOUT=A //SMFDATA DD DISP=SHR,DSN=CORP.YR1992.SMFDATA //SYSIN DD * SOURCE DUMP(SMFDATA). DUMP. /* //
For complete descriptions of the SOURCE and DUMP control statements, see Chapter 4 of this guide.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |