z/OS DFSMShsm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Invoking the ARCUTIL load module with the access method services (AMS) DCOLLECT function

z/OS DFSMShsm Implementation and Customization Guide
SC23-6869-01

You can invoke the IDCAMS DCOLLECT function with the access method services DCOLLECT command. For a detailed discussion of the DCOLLECT command, refer to z/OS DFSMS Access Method Services Commands.

Figure 1 could be used to invoke the DCOLLECT function. The DCOLLECT keywords shown in the example are the keywords that select the record types pertaining to DFSMShsm.

Figure 1. Invocation of the ARCUTIL Load Module with the Access Method Services DCOLLECT Command. This example JCL program invokes the ARCUTIL load module by using the AMS DCOLLECT command.
 //DCOLLECT   JOB   ,'DCOLLECT RUN',CLASS=Z,MSGCLASS=H,REGION=4M
 //*
 //STEP1   EXEC   PGM=IDCAMS
 //*
 //SYSPRINT  DD  SYSOUT=*
 //ARCSNAP   DD  SYSOUT=*
 //MCDS      DD  DSN=HSM.MCDS,DISP=SHR
 //BCDS      DD  DSN=HSM.BCDS,DISP=SHR
 //DCOUT     DD  DSN=userid.DCOLLECT.OUTPUT,
 //              DISP=(NEW,CATLG,DELETE),
 //              SPACE=(1,(859,429)),AVGREC=K,
 //              DSORG=PS,RECFM=VB,LRECL=264
 //SYSIN     DD  *
      DCOLLECT -
            OUTFILE(DCOUT) -
            NODATAINFO -
            NOVOLUMEINFO -
            MIGRATEDATA -
            BACKUPDATA -
            CAPPLANDATA -
            MIGRSNAPERR
 
 /* END OF DCOLLECT COMMAND

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014