How do I copy my CA Workload Automation CA 7 Edition Datacom database into a another instance of CA 7?
Use the JCL from CAL2JCL library member AL2DBEI to do an EXPORT from the current CA 7.
//RUN EXEC PGM=CAL2DBEI
//STEPLIB DD DISP=SHR,DSN=prodhlq.CAL2LOAD
// DD DISP=SHR,DSN=datacomhlq.CUSLIB
// DD DISP=SHR,DSN=datacomhlq.CAAXLOAD
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//AL2EXIM DD DSN=user.export.file,
// DISP=(NEW,CATLG,DELETE),
// DCB=(RECFM=VB,LRECL=32756,BLKSIZE=32760),
// SPACE=(CYL,(15,15),RLSE),
// UNIT=SYSDA
//SYSIN DD *
EXPORT=CURRENT_LOGICAL_DATABASE_NAME
//
//RUN EXEC PGM=CAL2DBEI
//STEPLIB DD DISP=SHR,DSN=prodhlq.CAL2LOAD
// DD DISP=SHR,DSN=datacomhlq.CUSLIB
// DD DISP=SHR,DSN=datacomhlq.CAAXLOAD
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//AL2EXIM DD DSN=user.export.file,DISP=SHR
//SYSIN DD *
IMPORT=NEW_LOGICAL_DATABASE_NAME
/*
//IXXRPT EXEC PGM=DBUTLTY
//STEPLIB DD DISP=SHR,DSN=datacomhlq.CUSLIB
// DD DISP=SHR,DSN=datacomhlq.CAAXLOAD
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPORT AREA=IXX,DBID=770,TYPE=G,UPDATE=YES
/*
//
//SYSIN DD *
EXPORT=CURRENT_LOGICAL_DATABASE_NAME
TRUSTED=N
//
//SYSIN DD *
IMPORT=NEW_LOGICAL_DATABASE_NAME
ACCEPT_UNTRUSTED_FILE=Y
/*