Clear Scroller (QsnClrScl) API


  Required Parameter:


  Omissible Parameter Group:


  Returned Value:


  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Clear Scroller (QsnClrScl) API clears the scroller data associated with a session and optionally resizes the scroller buffer.


Authorities and Locks

None.


Required Parameter

Session handle
INPUT; BINARY(4)

A handle for the session to be cleared. All data in the scroller will be cleared.


Omissible Parameter Group

Resize indication
Input; CHAR(1)

Whether the scroller buffer should be resized when it is cleared.


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 ]