The SMFIGADX program helps you delete or add index entries within the SCDS file. It is a stand-alone program that converts the output from the LISTH command to DELETEX or ADDX control statements.
The SMFIGADX program can be used to keep the SCDS file to a manageable size by generating DELETEX control statements to remove old SMF data inventory information that has expired or no longer exists. See the AUTODEL keyword of the OPTIONS control statement in Chapter 4 of the User Guide.
Another possible use of SMFIGADX is to generate ADDX control statements to consolidate several SCDS files into one, or to move index entries to a different (logstream or MAN file) index.
The PARM operand, on the EXEC JCL statement used to invoke SMFIGADX, indicates which type of statements is to be generated:
The SIDs, indexes, and timespan for which the statements are generated are controlled by the operands of the LISTH statement used to generate the input for SMFIGADX.
If the output of SMFIGADX is placed into a permanent data set, it can be edited manually, then input to SMFD in a later JOB after modification. This technique give you maximum control over the SCDS maintenance process.
Sample JCL member CASFSUTL is provided to demonstrate how SMFIGADX is used to build control statements. DDNAME SYSIN is the input data set created from the SYSPRINT output of the LISTH control statement. The SYSPRINT DDNAME designates the output data set in which the control statements will be placed.
//CASFSUTL JOB (ACCTINFO),PGMR,CLASS=A,MSGCLASS=A //* //* THIS SAMPLE JCL ILLUSTRATES HOW TO USE THE SMFIGADX //* CA SMF Director TO GENERATE CONTROL STATEMENTS //* //* NOTES: //* (1) CHANGE DEFAULTS AS PER THE INSTALLATION WORKSHEET //* (2) SYSPRINT FROM STEP1 WILL BE INPUT TO STEP2 //* (3) STEP2 WILL CREATE 'DELETEX' CA SMF Director CONTROL STATEMENTS //* IN A SEQUENTIAL DATA SET. THESE CONTROL STATEMENTS CAN BE //* EDITED MANUALLY, THEN INPUT TO SMFD, IN A LATER JOB, AFTER //* MODIFICATION. //* //STEP1 EXEC PGM=SMFD,PARM=READ //STEPLIB DD DISP=SHR,DSN=CASFLOAD <-- EDIT //SCDS DD DISP=SHR,DSN=CAI.JSMF.SCDS <-- EDIT //SYSPRINT DD DISP=(NEW,PASS),DSN=&.&LISTING., // UNIT=SYSDA,SPACE=(266,(16,8),RLSE), // DCB=(RECFM=FBA,LRECL=133,BLKSIZE=266) //SYSXDIAG DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSIN DD LISTH ALL. /* //STEP2 EXEC PGM=SMFIGADX,PARM='DELETEX' //STEPLIB DD DISP=SHR,DSN=CASFLOAD <-- EDIT //SYSIN DD DSN=&.&LISTING.,DISP=(OLD,DELETE) //SYSPRINT DD DSN=USER.DELETEX.OUTPUT,DISP=(NEW,CATLG), <-- EDIT // UNIT=3390,VOL=SER=VVVVVV, <-- EDIT // SPACE=(266,(16,8),RLSE) /* //
To recover the SCDS file in case of corruption, use the CA SMF Director backup and restore facilities.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |