Start of change

DMF for batch programs

DMF is enabled at the VSAM data set level for batch programs. It requires an additional parameter in the CICS VT subsystem parameter list and an additional DD statement.

Figure 1 is the JCL for the CICS VT COBOL IVP batch job which has been updated to add the 4th SUBSYS parameter and additional DD statement required for DMF.

Figure 1. Sample JCL with DMF enabled
//VIDIVPCO JOB CICSVT,CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID   
//*                                                      
//RUNVID  EXEC PGM=VIDIVPCO,REGION=2M                    
//STEPLIB  DD  DISP=SHR,DSN=VID.SVIDLODE              
//         DD  DISP=SHR,DSN=DB2.SDSNLOAD              
//SYSPRINT DD  SYSOUT=*                                  
//SYSOUT   DD  SYSOUT=*                                  
//IVPREPT  DD  SYSOUT=*,LRECL=130,RECFM=FBA              
//SYSUDUMP DD  SYSOUT=*                                  
//VIDKSDS@ DD  DSN=VID.VIDKSDS.DUMMY,DISP=SHR  
//VIDKSDSV DD  DSN=VID.VIDKSDS,DISP=SHR 
//VIDKSDS  DD  SUBSYS=(VIDS,DB2_ssid,VIDKSDS,VIDKSDSV)
//VIDTRCE  DD  SYSOUT=*,RECFM=FBA,LRECL=133,BLKSIZE=13300
//VIDTRCEP DD  *                                         
TRACE P01,P08,DIM=VIDKSDS 

DMF compares the data retrieved from DB2® with the data retrieved from the original VSAM data set. The DD statement VIDKSDSV specifies the original VSAM data set. The DD name name is the 4th parameter in the SUBSYS statement. You can specify any valid DD name providing that it is unique within the job step.

If you are using an alternate index PATH, add a new data set for the path entry and add the fourth parameter to the path SUBSYS statement.

DMF and AJF considerations

CICS® VT uses the 4th SUBSYS parameter for both DMF and the advanced JCL change facility AJF. To use both DMF and AJF requires the user controlled module VIDFMSPX, which defines system-wide DMF defaults and overrides. If you plan to use both DMF and AJF, carefully review this section in conjunction with Making JCL changes before migration.

If you are using DMF but not AJF, you can ignore VIDFMSPX.


Concept Concept

Feedback


Timestamp icon Last updated: Monday, 10 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.vt.doc//topics/cvtug_dmf_4batch.html
End of change