Previous Topic

Next Topic

Book Contents

Book Index

Example 2

This job invokes a rule that calls the WRITE and MERGEX functions. Output includes both matching and non-matching records.

Figure 370 JCL Member that Invokes a Reconciliation Rule – Example 2

//...        JOB    ...

//           EXEC   CONTROLB,RULE=write and mergex

//SORTIN     DD     DSN=empty-pre-allocated-file,DISP=SHR

//SORTOUT    DD     DSN=empty-pre-allocated-file,DISP=SHR

//SRECOUT1   DD     DSN=empty-pre-allocated-file,DISP=SHR

//SRECOUT2   DD     DSN=empty-pre-allocated-file,DISP=SHR

//SORTWK01   DD     UNIT=SYSALLDA,SPACE=(TRK,(5,10))

//SORTWK02   DD     UNIT=SYSALLDA,SPACE=(TRK,(5,10))

//SORTWK03   DD     UNIT=SYSALLDA,SPACE=(TRK,(5,10))

//SYSOUT     DD     SYSOUT=held-class

// 

Parent Topic

DD Statements