BACKUP command

Important: The content in this section was created for and applies to the original persistent data store, referred to as PDS V1. A new PDS version (referred to as PDS V2) now exists. PDS V1 will eventually be deprecated.

This command causes a maintenance task to be started for the data store file named on the command. The maintenance task typically deletes, allocates and initializes a data store file, optionally backing up or exporting the file before deleting it. (The optional export and backup steps are requested through parameters on the data store file's GROUP command in the RKPDIN file.)

Syntax

BACKUP FILE=DSN:dsname

where

dsname
Specifies the physical data set name of the file that is to be maintained.

BACKUP logic

This code quiesces and closes the data set. A test is made to see whether either BACKUP or EXPORT is specified for the data set and appropriate options are set for the started task. The options always include a request to initialize the data set. An SVC 34 is issued to start the KPDPROC1 procedure. The code returns to the caller, and the data set is unavailable until the RESUME command is executed.