Retrieve AID Code on Read (QsnRtvReadAID) API


  Required Parameter:


  Omissible Parameter Group:


  Returned Value:


  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Retrieve AID Code on Read (QsnRtvReadAID) API determines the AID code corresponding to the input operation that filled the given input buffer.


Authorities and Locks

None.


Required Parameter

Input buffer handle
INPUT; BINARY(4)

A handle for the input buffer that contains the results of the input operation. The input buffer must be filled as a result of a Read Input Fields (QsnReadInp), Read Modified Fields (QsnReadMDT), or Read Modified Alternate (QsnReadMDTAlt) operation. If the input buffer is filled as a result of any other input operation, a CPFA32E error is issued.


Omissible Parameter Group

AID code
OUTPUT; CHAR(1)

The variable that contains the AID code when the QsnRtvReadAID API has completed. See AID-Generating Keys for a description of the possible values.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the application.


Returned Value

AID code
OUTPUT; CHAR(1)

This API returns the value for the AID code parameter or X'00' if an error occurs during processing.


Error Messages



API introduced: V2R3

[ Back to top | Dynamic Screen Manager APIs | APIs by category ]