Example 29: Creating a file for the Copy Migration feature
This job example creates a file for the COPY MIGRATION feature.
JCL—Using the EXPOUT option and the EXPORT command to create a file for the Copy Migration feature
//ACPEX27 JOB (PACP),'EXAMPLE 27',CLASS=Q,MSGCLASS=X,NOTIFY=&SYSUID
//**********************************************************************
//*
//* Use EXPOUT on the OUTPUT command and the EXPORT command to create the
//* file used for the Copy Migration feature.
//*
//**********************************************************************
//BMCCOPY EXEC PGM=ACPMAIN,REGION=0M,
// PARM='DGA,ACPEX27,NEW/RESET,MSGLEVEL(1)'
//STEPLIB DD DISP=SHR,DSN=product.libraries
// DD DISP=SHR,DSN=DB2.DSNEXIT
// DD DISP=SHR,DSN=DB2.DSNLOAD
//ACPERROR DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
OPTION MAXTASKS 1,1
OUTPUT OUT
UNIT 3390
EXPOUT
YES
DSNAME RWC.COPY.EXP.D&DATE.T&TIME.X&TASK
EXPORT TABLESPACE ACPDB40.*
EXPORTDDN(OUT)
/*
//**********************************************************************
//*
//* Use EXPOUT on the OUTPUT command and the EXPORT command to create the
//* file used for the Copy Migration feature.
//*
//**********************************************************************
//BMCCOPY EXEC PGM=ACPMAIN,REGION=0M,
// PARM='DGA,ACPEX27,NEW/RESET,MSGLEVEL(1)'
//STEPLIB DD DISP=SHR,DSN=product.libraries
// DD DISP=SHR,DSN=DB2.DSNEXIT
// DD DISP=SHR,DSN=DB2.DSNLOAD
//ACPERROR DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
OPTION MAXTASKS 1,1
OUTPUT OUT
UNIT 3390
EXPOUT
YES
DSNAME RWC.COPY.EXP.D&DATE.T&TIME.X&TASK
EXPORT TABLESPACE ACPDB40.*
EXPORTDDN(OUT)
/*
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*