Example for SMHSMUTL

The following example shows syntax for the SMHSMUTL batch program.

Command

Result

DELETE CDS=MCDS
  DSN=**.SRCHFOR./ REFDAYS=10

Delete migration entries for search-results data sets after 10 days of not being used.

DELETE 
  CDS=MCDS
  DSN=AP*.**.TRANS**
  CREDAYS=90

Delete migration entries for accounts-payable-transaction data sets 90 days after creation.

DELETE CDS=BOTH DSN=/ MIGDAYS=180

Delete all backup and migration entries 180 days after migration.

DELETE CDS=BCDS
  DSN=GLYTD*.**.UPD**
    BAKDAYS=20 KEEPBACKV=5

Delete all but 5 backup versions of genera- ledger-update data sets 20 days after backup.

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

Comments