The data backup functions in BS2000/OSD-BC and in the software products ARCHIVE and HSMS also support the data backup of job variables. If job variables are lost (e.g. accidental deletion or overwriting), the job variables concerned can be reconstructed using a backup copy.
Pubset backup with snapsets
A snapset is a backup copy of an SF or SM pubset based on snap units. Each snap unit of the snap set is a backup of the assigned original disk of the pubset. Snapsets are used as pubset backups against failure of files and job variables and are generated during pubset operation by system support or the HSMS administrator and later deleted. The snapsets can be used as a logical backup of all files and job variables of a pubset. The latest snapset can also be used in the same way as a physical backup for pubset restoration on a disk basis.
For detailed information on pubsets refer to the Introductory Guide to Systems Support [3].
The command LIST-JV-FROM-SNAPSET provides information about job variables saved in a snapset (in the same way as SHOW-JV-ATTRIBUTES provides information about job variables from the current file catalog). The command is described in the “Commands” manual [1].
If job variables are lost (e.g. accidental deletion or overwriting), the job variables concerned can be reconstructed on the basis of a snapset:
The LIST-JV-FROM-SNAPSET command provides information on job variables which were backed up on a snapset (such as SHOW-JV-ATTRIBUTES, which supplies information on job variables from the current file catalog).
At program level, a query using the LJFSNAP macro is possible.The RESTORE-JV-FROM-SNAPSET command restores job variables to the status of a particular snapset or to the most up-to-date status on the basis of all existing snapsets. Renaming takes place here using the NEW-JV-NAME operand. The other options for overwriting (REPLACE option) and controlling log output (OUTPUT, REPORTING operands) are available in the same way as when restoring files.
At program level, reconstruction using the RJFSNAP macro is possible.
A detailed description of the commands and macros is provided in the “Commands” [1] and “DVS Macros” manuals [5].
The command RESTORE-JV-FROM-SNAPSET restores job variables to the state of a particular snapset or to the latest state based on all available snapsets. Renaming is via the NEW-JVNAME operand here.
Further options for overwriting (REPLACE operand) and controlling the logging output (OUTPUT and REPORTING operands) are available as for restoring files. The command is described in the “Commands” manual [1].
Data backup with ARCHIVE and HSMS
Along with the saving of files, saving of user job variables can also be performed in the automatic backup runs of a computer center by systems support or by the HSMS
administrator by means of ARCHIVE or HSMS.
In addition, users can also save their own job variables by means of ARCHIVE or HSMS.
If job variables are lost (e.g. accidental deletion or overwriting), the job variables concerned can be reconstructed on the basis of a backup copy.
A detailed description of the necessary statements can be found in the manuals
“ARCHIVE” [11] and “HSMS” [12].