We are trying to create a new CA Librarian Master file and assign the MCD in the job that defines the new Master file using this:
//SYSIN DD *
And getting the following error:
*** ERROR *** INVALID -MCD STATEMENT.
What is wrong and how do we resolve the error?
The MCD or management code consists of a site-specified four-digit base code combined with the date the CA Librarian job is executed in either MMDD or DDMM format. The format of the date is determined by the IBM STDJC marco.
Example 1 using MMDD date format -
If you are running the INIT job on Aug 21 and want to assign a base code of 0000 to the Master file, then the MCD specified on the -MCD statement would be 0821. The sum of base code 0000 and the execution date of 0821.
Example 2 using DDMM date format -
If you run the INIT job on Oct 18 and want to assign a base code of 5000, then the MCD would be 6810.
The sum of base code 5000 and the execution date of 1810.
For more information on using MCD, how to specify the MCD, and MCD restrictions, please see the CA Librarian Security Administration Guide.