Updating Jobs

To monitor jobs that write to a VSAM cluster, the data set must be associated with the CDC subsystem. This is normally done in the JCL that starts the job.


Top of page

Example: Associating VSAM Clusters With the CDC Subsystem

This example shows a JCL job that updates the VSAM cluster qualified.dataset.name. The DD statement is changed to include the additional parameter

 SUBSYS=icdc 

where icdc is the name assigned to the subsystem.

 //jobname JOB
//* Job that updates VSAM Structure
//SYSIN DD DATASET=input.dataset.name
//FILEA DD DATASET=qualified.dataset.name, DISP=SHR, SUBSYS=icdc//UPDATE EXEC PGM=UPDATEPGM
//

Note: To update a VSAM cluster with DataMigrator or a FOCUS program, you can also allocate it in a stored procedure or profile, as shown in this example:

 DYNAM ALLOC FI FILED DA qualified.dataset.name SHR REU SUBSYS icdc 

iWay Software