Set XDA Options (QxdaSetOptions) API


  Required Parameter Group:

1 Input structure Input Char(*)
2 Input structure format Input Char(8)
3 Error code I/O Char(*)

  Service Program: QXDAEDRS

  Default Public Authority: *USE

  Threadsafe: Conditional; see Usage Notes

The Set XDA Options (QxdaSetOptions) API is used to set options related to XDA.


Authorities and Locks

None.


Required Parameter Group

Input structure
INPUT; CHAR(*)

The structure is used to set options related to XDA. For the format of this parameter, see the SETO0100 Format.

Input structure format
INPUT; CHAR(8)

The format of the input structure template being used. The possible value is:

SETO0100 Set Options structure.

Error code
I/O; CHAR(*)

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


SETO0100 Format

The following table shows the information to pass in the SETO0100 format. For more details about the fields in this table, see Field Descriptions.

Offset Type Field
Dec Hex
0 0 CHAR(1) Thread safe
1 1 CHAR(127) Reserved


Field Descriptions

Thread safe. Indicates whether or not thread safety should be used in XDA. This should be be specified before calling QxdaConnectEDRS. The default is not to invoke thread safety in XDA.

0 Do not invoke thread safety in XDA.
1 Invoke thread safety in XDA.

Reserved. Reserved field; it must be initialized to 0x00.


Usage Notes

This function may be called from the initial thread of a job only.


Error Messages

Message ID Error Message Text
CPF3C21 E Format name &1 is not valid.
CPFB751 E Parameter &1 passed not correct.
CPFB752 E Internal error in &1 API.


API introduced: V5R4
Top | Database and File APIs | APIs by category