Run Backup (RUNBCKUP)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Run Backup (RUNBCKUP) command allows the user to run a predefined backup of specified objects to tape. The backup may include libraries (all user libraries or those selected in the backup list), folders (all folders or root folders selected in the backup list), security data, configuration data, mail, and calendars.

Top

Parameters

Keyword Description Choices Notes
BCKUPOPT Backup options *DAILY, *WEEKLY, *MONTHLY Required, Key, Positional 1
DEV Device Single values: *BCKUPOPT
Other values (up to 4 repetitions): Name
Optional, Positional 2
Top

Backup options (BCKUPOPT)

Specifies the backup options to use.

This is a required parameter.

*DAILY
The daily backup options are used.
*WEEKLY
The weekly backup options are used.
*MONTHLY
The monthly backup options are used.
Top

Device (DEV)

Specifies a list of tape devices to use for the backup.

Single values

*BCKUPOPT
The tape device names stored in the specified options are used for the backup.

Other values (up to 4 repetitions)

name
Specify a list of tape devices used for the backup. If you are using a virtual tape device you can only specify one device name.
Top

Examples

Example 1: Running a Daily Backup

RUNBCKUP   BCKUPOPT(*DAILY)

This command runs the daily backup using the devices specified in the options.

Example 2: Running a Monthly Backup

RUNBCKUP   BCKUPOPT(*MONTHLY)  DEV(TAP02)

This command runs the monthly backup using device TAP02 instead of those specified in the options.

Top

Error messages

*ESCAPE Messages

CPF1EE3
Not authorized to backup options.
CPF1EE4
Not authorized to run backup.
CPF1EE6
Devices specified cannot be used.
CPF1EE7
Unexpected error occurred during backup.
CPF1EE8
Unexpected error from exit program &2/&1.
CPF1E6C
Backup options in use.
CPF1E6E
Nothing selected for backup.
CPF1E63
Error occurred while checking backup authority.
CPF1E67
Backup options and library backup list damaged.
CPF1E68
Backup incomplete.
CPF1E99
Unexpected error occurred.
Top