Unloading SMF records

After all the SMF data from the CICS® region is on the active SMF data set, you need to dump this data to an inactive SMF data set. First you switch the recording of SMF data from one data set to another. All SMF data in storage is written out before the transfer is made. This switch is performed by issuing the /I SMF operator command. The switch of SMF data sets takes place automatically when the active SMF data set becomes full.

To dump the SMF data set, use the SMF dump program (IFASMFDP). This program transfers the contents of the active SMF data set to an output data set, then resets the status of the dumped data set to ALTERNATE so that SMF can use it again for recording data. For more information about the IFASMFDP program, see the z/OS® MVS™ System Management Facilities (SMF).

The sample job shown in Figure 1 is an example of using the SMF program IFASMFDP to unload SMF records for offline processing by CICS PA.
Figure 1. Sample JCL using the SMF Unload utility
//SMFJOB   JOB (Job Accounting)
//SMFDUMP  EXEC PGM=IFASMFDP,REGION=0M
//INDD1    DD DSN=SYS1.MV2C.MANA,DISP=SHR,AMP=('BUFSP=131072')
//INDD2    DD DSN=SYS1.MV2C.MANB,DISP=SHR,AMP=('BUFSP=131072')
//INDD3    DD DSN=SYS1.MV2D.MANA,DISP=SHR,AMP=('BUFSP=131072')
//INDD4    DD DSN=SYS1.MV2D.MANB,DISP=SHR,AMP=('BUFSP=131072')
//OUTDD1   DD DSN=CICS.CMF.DAILY(0),
              DISP=(MOD,CATLG),SPACE=(CYL,(25,5)),UNIT=SYSDA
//OUTDD2   DD DSN=CICS.TG.DAILY(0),
              DISP=(MOD,CATLG),SPACE=(CYL,(25,5)),UNIT=SYSDA
//OUTDD3   DD DSN=CICS.SMF.DAILY(0),
              DISP=(MOD,CATLG),SPACE=(CYL,(25,5)),UNIT=SYSDA
//SYSPRINT DD SYSOUT=A
//SYSIN    DD *
       INDD(INDD1,OPTIONS(DUMP))
       INDD(INDD2,OPTIONS(DUMP))
       INDD(INDD3,OPTIONS(DUMP))
       INDD(INDD4,OPTIONS(DUMP))
       OUTDD(OUTDD1,TYPE(110))
       OUTDD(OUTDD2,TYPE(111))
       OUTDD(OUTDD3,TYPE(88,101,112,116))
/*
//

Information Information

Feedback


Timestamp icon Last updated: Saturday, 8 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///users-guide/unlsort.htm