Retrieve Configuration Status (QDCRCFGS) API

  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: Yes

The Retrieve Configuration Status (QDCRCFGS) API retrieves the current status of a line, controller, device, network interface, or network server description.


Authorities and Locks

Configuration Description Authority
*USE
Configuration Description Lock
*SHRRD

Required Parameter Group

Receiver variable
OUTPUT; CHAR(*)

The variable that is to receive the status information. Format CFGS0100 describes the layout of the status information returned in this variable.

Length of receiver variable
INPUT; BINARY(4)

The length of the area referenced by the receiver variable parameter. If the amount of information to be returned is greater than this value, the information is truncated to this length.

Format name
INPUT; CHAR(8)

The content and format of the status information returned for the specified configuration description. The format name is:

See Format of Status Information for a description of this format.

Configuration description type
INPUT; CHAR(10)

The type of configuration description object for which status is being retrieved. The possible values are:


Configuration description name
INPUT; CHAR(10)

The name of the line, controller, device or network interface for which status is being retrieved.

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 Status Information

Following is the format of the status information returned. For detailed descriptions of the fields in the list, see Field Descriptions.


CFGS0100 Format



Field Descriptions

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.

Conversation job name. The job name portion of the qualified job name for an active conversation on an APPC device.

Conversation job number. The job number portion of the qualified job name for an active conversation on an APPC device.

Conversation mode name. The mode name for an active conversation on an APPC device.

Conversation status numeric value. A numeric value that represents the current status of an active conversation on an APPC device. See the current status field for valid status values.

Conversation status text value. A text value that represents the current status of an active conversation on an APPC device. See the current status field for valid status values.

Conversation user name. The user name portion of the qualified job name for an active conversation on an APPC device.

Current status. The current status of the selected object using two fields:

Note: The displayable text is translated when it is returned. This text is retrieved from message CPX2651 in message file QCPFMSG in library *LIBL.

Possible values follow:

Date information retrieved. The date that the information was provided by the API. This is returned as 7 characters in the form CYYMMDD, where:

Entry length for list of active conversations. The entry length, in bytes, of each element in the list of active conversations returned with this format. A value of zero is returned if the list is empty.

Entry length for list of multiple jobs. The entry length, in bytes, of each element in the list of multiple jobs returned with this format. A value of zero is returned if the list is empty.

Job name. The name of the job associated with an active device, if applicable.

Job number. The job number portion of a fully qualified job name.

Multiple job name. The job name portion of the qualified job name for optical, media library, or network (*TEL type only) devices that are being used by more than one job.

Multiple job number. The job number portion of the qualified job name for optical, media library, or network (*TEL type only) devices that are being used by more than one job.

Multiple job user name. The user name portion of the qualified job name for optical, media library, or network (*TEL type only) devices that are being used by more than one job.

Number of active conversations. The number of entries in the list of active conversations returned with this format. A value of zero is returned if the list is empty.

Number of multiple jobs. The number of entries in the list of multiple jobs returned with this format. A value of zero is returned if the list is empty.

Offset to list of active conversations. The offset, in bytes, to the list of active conversations returned with this format. A value of zero is returned if the list is empty.

Offset to list of multiple job information. The offset, in bytes, to the list of multiple jobs returned with this format. A value of zero is returned if the list is empty.

Pass-through device. The name of an upstream device used to complete a pass-through session, if applicable.

Reserved. An ignored field.

Time information retrieved. The time that the information was provided by the API. It is returned as 6 characters in the form HHMMSS, where:

User name. The user name portion of a fully qualified job name.


Error Messages



API introduced: V2R3

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