Put Command Buffer and Perform Get (QsnPutGetBuf) API


  Required Parameter Group:


  Omissible Parameter Group:


  Returned Value:


  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Put Command Buffer and Perform Get (QsnPutGetBuf) API sends the commands accumulated in a command buffer to the screen and performs a read operation. The command buffer must contain an input operation. If it has no input operation, a CPFA333 error occurs.


Authorities and Locks

None.


Required Parameter Group

Command buffer handle
INPUT; BINARY(4)

A handle for the command buffer to be sent to the screen.

Input buffer handle
INPUT; BINARY(4)

A handle for the input buffer that receives the result of the input operation.


Omissible Parameter Group

Low-level environment handle
INPUT; BINARY(4)

The low-level environment that the operation applies to. If this parameter is omitted or given with a value of zero, the default low-level environment is used.

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

Return code
OUTPUT; BINARY(4)

A return code indicating the result of the operation. The value returned will be 0 if the operation was successful, or -1 otherwise.


Error Messages



API introduced: V2R3

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