Set XDA Options (QxdaSetOptions) API


  Required Parameter Group:


  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 SETO0100 Format.

Input structure format
INPUT; CHAR(8)

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


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.



Field Descriptions

Length of the trace configuration data. The length of the trace configuration data passed.

Offset to the trace configuration data. The offset from the beginning of the input structure to the trace configuration data in the input structure, in bytes.

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

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

Server mode. Indicates whether the user will connect to a QSQSRVR job or a QXDARECVR job. This should be specified before QxdaConnectEDRS is called. Thread safety must be enabled and the connection type must be local if server mode is enabled. The default is not to connect to a QSQSRVR job.

Threadsafe. Indicates whether thread safety should be used in XDA. This should be specified before QxdaConnectEDRS is called. The default is not to use thread safety in XDA.

Trace configuration data. Indicates whether the trace function should trace network flows, or to trace network data blocks, or both. The normal trace function must be enabled in order to take advantage of the trace configurations. The following trace options can be specified together with a comma separator:

Trace file size. Indicates the size of the trace file in megabytes. The file is wrapped after the size is reached. The default is not to wrap the trace file. The maximum size is 2048 MB (2 GB).

Trace mode. Indicates the mode of the trace function that should be used in XDA. There are not any specific instructions for use. The default is not to enable tracing functionality in XDA.



Usage Notes

This function may be called from the initial thread of a job only for thread safety. This function can be called from any thread to enable the trace function. The trace function will be enabled for all connections within a given job.


Error Messages




API introduced: V5R4

[ Back to top | Database and File APIs | APIs by category ]