Previous Topic: The LDMAMS Utility

Next Topic: Back Up and Restoring Files

JCL for the LDMAMS Batch Job

To run the LDMAMS utility as a batch job, use the following JCL:

//stepname   EXEC  PGM=LDMAMS
//SSN$ssname DD    DUMMY
//SYSPRINT   DD    SYSOUT=class
//SYSIN      DD    dsn specification or * control statement(s)
//ddname     DD    dd parameters for sequential files

In this JCL, provide the following information:

Note: The LDMAMS JCL does not contain DD statements for the files managed by the file server. These files are identified in the SYSIN statements. Adding DD statements for these data sets will cause the LDMAMS job to fail.