Open List of Objects to be Backed Up (QEZOLBKL) API

  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Open List of Objects to be Backed Up (QEZOLBKL) API retrieves an open list of the objects that are to be backed up.

For more information, see Process Open List APIs.


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.

List information
OUTPUT; CHAR(80)

Information about the list that is created by this program. For a description of the layout of this parameter, see Format of List Information.

Number of records to return
INPUT; BINARY(4)

The number of records in the list to put into the receiver variable. The value must be 0 or greater.

Format name
INPUT; CHAR(8)

The name of the format to be used to return the requested information. One of the following format names may be used:


Object type
INPUT; CHAR(10)

The type of the objects to be returned in the list. One of the following object types may be used:


Type of backup to select
INPUT; CHAR(10)

The backup type of the objects that you request. Allowable backup types follow:


Error code
I/O; CHAR(*)

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


Format of Receiver Variable

The following tables describe the order and format of the data that is returned in the receiver variable.


OBKL0100 Format

The OBKL0100 format includes the basic information for a library object entry. The following table shows how this information is organized. For detailed descriptions of the fields in the list, see Field Descriptions.



OBKL0200 Format

The OBKL0200 format includes the basic information for a folder object entry. The following table shows how this information is organized. For detailed descriptions of the fields in the list, see Field Descriptions.



OBKL0600 Format

The OBKL0600 format includes the complete information for a library or folder object entry. The following table shows how this information is organized. For detailed descriptions of the fields in the list, see Field Descriptions.



Field Descriptions

Backup option. The backup option defined for the object. The possible values follow:

Changed since last backup. Whether the object has changed since the last backup. The possible values follow:

Folder name. The folder name of the object to be backed up.

Last backup date. The date that the object was last backed up. The format of this field is in the CYYMMDD as follows:

Last backup time. The time that the object was last backed up. The format of this field is in the HHMMSS as follows:

Library name. The library name of the object to be backed up.

Object description text. The text that describes the object.

Reserved. An ignored field.


Format of List Information



Field Descriptions

Authority reason code. Whether all information that you requested has been supplied due to the user's authority. The list of folders or libraries may not be the complete list of objects on the system if the user does not have the required authority to list the object. A user with *SAVSYS or *ALLOBJ authority is able to get a complete list. Without this authority, the list may not be complete.

Date and time created. The date and time that the list was created. The 13 characters follow:

First record in buffer. The number of the first record in the receiver variable.

Information complete indicator. Whether all information that was requested has been supplied.

Length of information returned. The size, in bytes, of the information that is returned in the receiver variable.

List status indicator. The status of building the list.

Record length. The length of each record of information returned. For variable length records, this value is set to 0. For variable length records, you can obtain the length of individual records from the records themselves.

Records returned. The number of records that are returned in the receiver variable. This is the smallest of the following values:

Request handle. The handle of the request that can be used for subsequent requests of information from the list. The handle is valid until the Close List (QGYCLST) API is called to close the list or until the job ends.

Note: This field should be treated as a hexadecimal field. It should not be converted from one CCSID to another, for example, EBCDIC to ASCII, because doing so could result in an unusable value.

Reserved. A reserved field. This field must be set to hexadecimal or binary zero.

Total records. The total number of records available in the list.


Error Messages



API introduced: V3R7

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