Job required for the SMHSMUTL utility

In the following JCL, STEP10 executes SMHSMUTL to generate DFSMShsm control cards; STEP20 executes TSO in batch to have DFSMShsm process the cards.

The ddnames are defined as follows:

  • STEPLIB specifies the library that contains MainView SRM load modules. If the MainView SRM load modules have been added to the LNKLST, this STEPLIB DD statement can be removed.

  • BCDS specifies the DFSMShsm backup control data set.

  • MCDS specifies the DFSMShsm migration control data set.

  • HSMCMD specifies an output data set for the generated control cards.

  • SYSIN specifies the input data set containing control cards for SMHSMUTL.

//STEP10     EXEC   PGM=SMHSMUTL,REGION=2M
//STEPLIB      DD   DSN=EMP.?prefix.BBLINK,DISP=SHR
//SYSPRINT     DD   SYSOUT=*
//BCDS         DD   DSN=dfsmshsm.backup.control,DISP=SHR
//MCDS         DD  DSN=dfsmshsm.migration.control,DISP=SHR
//HSMCMD       DD  DSN=&&HSMOUT,DISP=(NEW,PASS),
//                  SPACE=(TRK,(10,10)),UNIT=SYSDA,
//                   DCB=(LRECL=80,BLKSIZE=13680,RECFM=FB)
//SYSIN        DD  *
DELETE DSN=**.TRAN* CDS=MCDS MIGDAYS=20
/*
//STEP20     EXEC  PGM=IKJEFT01
//SYSTSPRT     DD  SYSOUT=*
//SYSTSIN      DD  DSN=&&HSMOUT,DISP=(OLD,DELETE)

Was this page helpful? Yes No Submitting... Thank you

Comments