Change Object Backup List (QEZCHBKL) API

  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change Object Backup List (QEZCHBKL) API changes the backup type for a list of objects that are specified by the user.


Authorities and Locks

User Index Authority
*CHANGE
User Index Lock
*SHRRD

Required Parameter Group

Input structure
INPUT; CHAR(*)

This structure includes the keys and data that are needed to make the necessary changes to the backup definitions.

Input structure length
INPUT; BINARY(4)

The length of the input structure. A minimum length of 16 is required.

Error code
I/O; CHAR(*)

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


Format for Variable Length Records

If the length of the data is longer than the key field's data length, the data is truncated at the right. No message is issued.

If the length of the data is smaller than the key field's data length, the data is padded with blanks at the right. No message is issued.

It is not an error to specify a key more than once. If duplicate keys are specified, the last specified value for that key is used.

Each variable length record must be 4-byte aligned. If not, unpredictable results may occur.


Field Descriptions

Number of variable length records. The number of records. Only specific attributes can be changed. Refer to Valid Keys for more information.

Length of variable length record. The length of each record. Only specific attributes can be changed. Refer to Valid Keys for more information.

Key. The key specifies either the library or folder attribute. For the list of valid keys, see Valid Keys.

Length of data. The length of the data that is used to specify the value for the given parameter.

Data. The data that is used to specify the value for the given key.


Valid Keys

The following table lists the valid keys for the key field area of the variable length record. For detailed descriptions of the keys, see Field Descriptions.



Field Descriptions

Folder. The backup type selected and the list of folder objects to have their backup type changed. For the format of this field, see Folder Key Format.

Library. The backup type selected and the list of library objects to have their backup type changed. For the format of this field, see Library Key Format.


Folder Key Format



Field Descriptions

Folder name. The folder name of the object to be changed for the backup type that you specified.

Number in array. The number of folder names of objects to have their backup type changed. The value must be 1 or greater.

Backup type. The backup type that you selected for the folder objects. The possible values follow:



Library Key Format



Field Descriptions

Library name. The library name of the object to be changed for the backup type that you specified.

Number in array. The number of library names of objects to have their backup type changed. The value must be 1 or greater.

Backup type. Backup type that you selected for the library objects. The possible values follow:



Error Messages



API introduced: V3R7

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