Change Configuration Description (QDCCCFGD) API

  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change Configuration Object (QDCCCFGD) API changes the value of one or more parameters in an existing configuration description. This API is intended for applications using new configuration capabilities not yet available through CL commands.


Authorities and Locks

Configuration description authority
*CHANGE

Required Parameter Group

Configuration description name
INPUT; CHAR(10)

The name of the configuration description being changed. This parameter must be in uppercase.

Configuration description type
INPUT; CHAR(10)

The type of configuration description being changed. Possible values for this parameter are:


Changes
INPUT; CHAR(*)

The changes to be made to the specified configuration description. The information must be in the following format:

Number of variable length records
BINARY(4)
The total number of all of the variable length records.
Variable length records
Each variable length record contains a keyword plus its associated new value. Refer to Format for Variable Length Record for the format of this field.

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 Record

The following table shows the format for the variable length record. For a detailed description of each field, see Field Descriptions.

If the length of the new value is longer than the data length of the key field, the data is truncated to the right. No message is issued.

If the length of the new value is shorter than the data length of the key field, the data is padded with blanks to 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.


Field Descriptions

Key. The keyword parameter of the configuration description to be changed. Only specific keywords can be changed. The following table lists the valid key for the key-field area of the variable length record:

Length of new value. The length of the new value to be assigned to the keyword.

New value. The value to which a specific keyword is to be set.


Validation of New Values

Inclusion of any keyword parameter and its accompanying values in this API implies that the parsing of the value is supported in this API at a level equivalent to that provided by a Change (CHG) command that supports the same keyword.

In addition to the CPF26C9 escape message signaled to the caller, one or more CPD messages are placed on the caller's job log by the API to more fully describe the syntax error found while parsing the new value.


Error Messages



API introduced: V3R7

[ Back to top | Configuration APIs | APIs by category ]