z/OS Example JCL
The following sample JCL catalogs the DATABASE structure MY-CLONED-DB (which is validated against the CA-ORIGINAL-DB structure) definition to the CXX.
Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.
//jobname See the note above and Listing Libraries for CA Datacom Products in JCL. // EXEC PGM=DDRTVCAT,REGION=600K //STEPLIB See the note above and Listing Libraries for CA Datacom Products in JCL. //SYSPRINT DD SYSOUT=a Print output //SYSPUNCH DD SYSOUT=b Punch output //SNAPER DD SYSOUT=a dumps //SYSUDUMP DD SYSOUT=a System dumps //SYSIN DD * Input transactions -USR sample-user,password Authorized user information -CXX CATALOG,DATABASE,MY-CLONED-DB(T001) -RTV BASIS,CA-ORIGINAL-DB /*
Sample Report - DDRTVCAT
The report contains the following:
CODE FUNCTION,ENTITY-TYPE,OCCURRENCE(VERS,PSWD,OVRD) -CXX CATALOG,DATABASE,MP602(T001) ; CODE FUNCTION,BASIS -RTV BASIS,MP300
FUNCTION = VERIFY-OLD-TO-NEW
ENTITY-TYPE = DATABASE
OCCURRENCE = MP303
FUNCTION = VERIFY-NEW-TO-OLD
ENTITY-TYPE = DATABASE
OCCURRENCE = MP303
*** VERIFY ERROR MESSAGES ***
TOTAL ERRORS 0
FUNCTION = COPY-TO-PROD
ENTITY-TYPE = DATABASE
OCCURRENCE = MP303
FUNCTION = CATALOG-STRUCTURE
ENTITY-TYPE = DATABASE
OCCURRENCE = MP303
FUNCTION = ENABLE-STRUCTURE
ENTITY-TYPE = DATABASE
OCCURRENCE = MP303
* END OF JOB
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |