Retrieve Backup History (QEZRTBKH) API

  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Retrieve Backup History (QEZRTBKH) API retrieves information about the backup status and history into a single variable in the calling program. The amount of information that is returned depends on the size of the variable. The information that this API returns is the same information that the Display Backup Status (DSPBCKSTS) command returns.


Authorities and Locks

User Index Authority
*USE
User Index Lock
*SHRRD

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The receiver variable that receives the information requested. You can specify the size of the area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.

Length of receiver variable
INPUT; BINARY(4)

The length of the receiver variable provided. The length of receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of receiver variable parameter specified is larger than the allocated size of the receiver variable specified in the user program, the results are not predictable. The minimum length is 8 bytes.

Format name
INPUT; CHAR(8)

The format of the command information to be returned. One of the following format names may be used:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


RBKH0100 Format

The following table describes the information that is returned in the receiver variable for the RBKH0100 format. For detailed descriptions of the fields, see Field Descriptions.



RBKH0200 Format

The following table describes the information that is returned in the receiver variable for the RBKH0200 format. For detailed descriptions of the fields, see Field Descriptions.



Field Descriptions

Some of the fields use a date format (CYYMMDD) as follows:

Some of the fields use a time format (HHMMSS), where:

For more information on the following fields, see the Display Backup Status (DSPBCKSTS) command.

Backup date. The completion date of the backup. This date is in the format CYYMMDD.

Backup time. The completion time of the backup. This time is in the format HHMMSS.

Backup options. The backup option that were used. The possible values are:

Bytes available. The number of bytes of data available to be returned. All available data is returned if enough space is provided.

Bytes returned. The number of bytes of data returned.

Calendars saved. Whether OfficeVision® calendars were saved during the backup.

Changes only. Whether the backup saved only the changes to libraries, directories, and folders.

Configuration saved. Whether the system configuration was saved.

Folders saved. Which folders were saved during the backup. The possible values follow:

Last backup time of calendars. The completion time of the most recent backup of all the calendars for OfficeVision. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of mail. The completion time of the most recent backup of all the mail for OfficeVision. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of all folders. The completion time of the most recent backup of all the objects in all the root folders. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of all folders (changes only). The completion time of the most recent backup of all the objects in all the root folders that changed since the previous backup. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of all user directories. The completion time of the most recent backup of all the objects in all the user directories on the system. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of all user directories (changes only). The completion time of the most recent backup of all the objects in all the user directories that changed since the previous backup. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of all user libraries. The completion time of the most recent backup of all the objects in all the user libraries on the system. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of all user libraries (changes only). The completion time of the most recent backup of all the objects in all the user libraries that changed since the previous backup. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of configuration. The completion time of the most recent backup of the system configuration. This uses the 24-hour clock and is in the format HHMMSS.

Last backup time of folders on list. The completion time of the most recent backup of all the objects in all the folders on the folder backup list. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of libraries on list. The completion time of the most recent backup of all the objects in all the libraries on the library backup list. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of libraries on list (changes only). The completion time of the most recent backup of all the objects in all the libraries on the library backup list that changed since the previous backup. This time uses the 24-hour clock and is in the format HHMMSS.

Last backup time of security data. The completion time of the most recent backup of all the system security data. This uses the 24-hour clock and is in the format HHMMSS.

Last date all folders backed up. The completion date for the most recent backup of all the objects in all the root folders on the system. This date is in the format CYYMMDD.

Last date all folders backed up (changes only). The completion date for the most recent backup of all the objects in all the folders that changed since the previous backup. This date is in the format CYYMMDD.

Last date all user directories backed up (changes only). The completion date for the most recent backup of all the objects in all the user directories that changed since the previous backup. This date is in the format CYYMMDD.

Last date all user directories backed up. The completion date for the most recent backup of all the objects in all the user directories on the system. This date is in the format CYYMMDD.

Last date all user libraries backed up. The completion date for the most recent backup of all the objects in all the user libraries on the system. This date is in the format CYYMMDD.

Last date all user libraries backed up (changes only). The completion date for the most recent backup of all the objects in all the user libraries that changed since the previous backup. This date is in the format CYYMMDD.

Last date calendars backed up. The completion date for the most recent backup of all the OfficeVision calendars on the system. This date is in the format CYYMMDD.

Last date configuration data backed up. The last backup date for the most recent backup of the system configuration.

Last date folders on list backed up. The completion date for the most recent backup of all the objects in all the folders in the folder backup list. This date is in the format CYYMMDD.

Last date libraries on list backed up. The completion date for the most recent backup of all the objects in all the libraries in the library backup list. This date is in the format CYYMMDD.

Last date libraries on list backed up (changes only). The completion date for the most recent backup of all the objects in all the libraries in the library backup list that changed since the previous backup. This date is in the format CYYMMDD.

Last date mail backed up. The completion date for the most recent backup of all the OfficeVision mail on the system. This date is in the format CYYMMDD.

Last date security data backed up. The last backup date for the most recent backup of system security data.

Length of a backup date entry. The length of one backup date entry.

Mail saved. Whether mail was saved during the backup.

Number of backup date entries. The number of backup date e ntries that are contained in format RBKH0200.

Reserved. This space is reserved for future use.

Security data saved. Whether the security data was saved.

Tape set. The name of the last tape set that the system used to complete the backup of the information described in this backup date entry.

Tape set for all user directories backed up. The name of the last tape set that the system used for the most recent backup of all the objects in all the user directories on the system. The possible value follows:

Tape set for all user directories backed up (changes only). The name of the last tape set that the system used for the most recent backup of all the objects in all the user directories that changed since the previous backup. The possible value follows:

Tape set for all user libraries. The name of the last tape set that the system used for the most recent backup of all the objects in all the user libraries on the system. The possible value follows:

Tape set for all user libraries (changes only). The name of the last tape set that the system used for the most recent backup of all the objects in all the user libraries that changed since the previous backup. The possible value follows:

Tape set for calendars. The name of the last tape set that the system used for the most recent backup of all the calendars for OfficeVision.

The possible value follows:

Tape set for configuration. The name of the last tape set that the system used for the most recent backup of the system configuration. The possible value follows:

Tape set for folders. The name of the last tape set that the system used for the most recent backup of all the objects in all the root folders on the system. The possible value follows:

Tape set for folders (changes only). The name of the last tape set that the system used for the most recent backup of all the new and changed documents from all the new and changed root folders since the previous backup. The possible value follows:

Tape set for folders on list. The name of the last tape se t that the system used for the most recent backup of all the folders that were selected for backup from the folder backup list. The possible value follows:

Tape set for libraries on list. The name of the last tape set that the system used for the most recent backup of all the libraries on the library backup list. The possible value follows:

Tape set for libraries on list (changes only). The name of the last tape set that the system used for the most recent backup of all the objects in the libraries on the library backup list that changed since the previous backup. The possible value follows:

Tape set for mail. The name of the last tape set that the system used for the most recent backup of all the mail for OfficeVision. The possible value follows:

Tape set for security data. The name of the last tape set that the system used for the most recent backup of the system security data. The possible value follows:

User directories saved. The directories that were saved during the backup. The possible values follow:

User libraries saved. The libraries that were saved during the backup. The possible values follow:



Error Messages



API introduced: V3R7

[ Back to top | Backup and Recovery APIs | APIs by category ]