Examples of how to code the BACKDS command

The following examples present different ways to code the BACKDS command:

Note: Any values specified here are only examples and should not be interpreted as the values to be used for your system.

Backing up an SMS-managed data set

In this example, DFSMShsm backs up an SMS-managed data set to a target device of tape. DFSMShsm requires a concurrent copy session, and DFSMShsm returns control after the session is established and before DFSMShsm makes the copy.
   BACKDS P234823.PSFB.H39SC230.DS230 TARGET(TAPE) CC(REQUIRED LE)

Backing up a cataloged data set

In this example, DFSMShsm backs up a cataloged data set.
   BACKDS JBH6798.PSFB.F40RC001.DSET01

Backing up an uncataloged data set

In this example, DFSMShsm backs up an uncataloged data set. You must specify the VOLUME and UNIT parameters to back up an uncataloged data set.
   BACKDS FMT1315.PROJ53.REV VOLUME(VOL110) UNIT(3390)