Examples of how to code the ABACKUP command

The following examples present different ways to code the ABACKUP command.

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

Displaying the application data sets to be backed up and verifying application backup

In this example, the data sets to be backed up, as indicated in the aggregate group PAY1, are displayed. The ABACKUP command is verified to ensure that it can complete successfully with no errors. No data sets are backed up.
   ABACKUP PAY1 VERIFY

Backing up the application data sets

In this example, the data sets to be backed up, as indicated in the aggregate group PAY1, are backed up. A 3590-1 is specified as the tape unit type for the control and data files.
   ABACKUP PAY1 EXECUTE UNIT(3590-1)

Backing up the application data sets to a minimum number of tapes

In this example, the data sets to be backed up, as indicated in the aggregate group PAY1, are backed up and the output files are stacked onto a minimum number of tape volumes.
   ABACKUP PAY1 EXECUTE STACK

Sample activity log created when you specify ABACKUP with the VERIFY parameter

Figure 1 is a sample activity log created when you specify ABACKUP with the VERIFY parameter. The processing has been successful. The data sets listed in the sample activity log would actually be backed up if you issued the ABACKUP command with the EXECUTE parameter.
Figure 1. Sample Activity Log Created When You Specify ABACKUP with the VERIFY Parameter
PAGE 0001  Z/OS DFSMSHSM        DATA  FACILITY  HIERARCHICAL  STORAGE  MANAGER   05.081  9:29
ARC6054I AGGREGATE BACKUP STARTING FOR AGGREGATE GROUP PAY1, AT 10:56:12, STARTED TASK = DFHSMABR.ABAR0151
ARC6030I ACTIVITY LOG FOR AGGREGATE GROUP PAY1 WILL BE ROUTED TO SYSOUT=A
ARC6166I THE FOLLOWING DATA SETS WERE SELECTED TO BE PROCESSED BY AGGREGATE BACKUP FOR AGGREGATE GROUP PAY1 FOR THE
INCLUDE/EXCLUDE SPECIFICATION:
  PAY2.PY002.SOCSEC
  PAY2.PY002.STATUS.G0002V00
  PAY2.PY002.RETIRE
  PAY1.INSTRUCT
  PAY1.PY001.CHECK
  PAY1.PY001.NAMES
  PAY1.PY001.PGMLIB
  PAY1.PY002.IRA
  PAY1.PY002.LADDER
ARC6166I THE FOLLOWING DATA SETS WERE SELECTED TO BE PROCESSED BY AGGREGATE BACKUP FOR AGGREGATE GROUP PAY1 FOR THE
ACCOMPANY/ACCOMPANYEXCLUDE SPECIFICATION:
  PAY2.PY001.TAXES
ARC6166I THE FOLLOWING DATA SETS WERE SELECTED TO BE PROCESSED BY AGGREGATE BACKUP FOR AGGREGATE GROUP PAY1 FOR THE
ALLOCATE/ALLOCATEEXCLUDE SPECIFICATION:
  PAY2.PY001.BENEFIT
ARC6250I THE FOLLOWING TAPE VOLSERS WILL BE REQUIRED DURING ABACKUP FOR AGGREGATE GROUP PAY1
  A00002
  A00003
ARC6055I AGGREGATE BACKUP HAS COMPLETED FOR AGGREGATE GROUP PAY1, AT 10:56:13, RETCODE = 000