JCL

ADRDSSU – Full Volume Physical Copy

The following JCL code allows you to perform a full volume physical copy using the ADRDSSU utility: //STEP1 EXEC PGM=ADRDSSU,REGION=0M //SYSPRINT DD SYSOUT=* //INVOL1 DD VOL=SER=volser1,UNIT=3390,DISP=SHR //OUTVOL1 DD VOL=SER=volser2,UNIT=3390,DISP=SHR //SYSIN DD * COPY FULL – INDDNAME(INVOL1) – OUTDDNAME(OUTVOL1) – ALLDATA(*) – ALLEXCP – CANCELERROR – COPYVOLID – ADMINISTRATOR – PURGE […]

JCL

Connect a User Catalog to the Master Catalog

The following JCL can be used to connect a User Catalog to the Master Catalog of your z/OS system: //IMPORT   EXEC PGM=IDCAMS //SYSPRINT DD   SYSOUT=* //SYSIN    DD   * IMPORT CONNECT              – OBJ((user_catalog_name      – DEVT(devtype) VOL(volser))) – CATALOG(master_catalog_name) /* Where: user_catalog_name should be replaced by the name of your User Catalog dataset […]