Previous Topic: The LDMAMS UtilityNext 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 the DD statements for the files that the file server manages. These files are identified in the SYSIN statements. Adding the DD statements for these data sets causes the LDMAMS job to fail.