Retrieve Number of Columns to Shift Scroller (QsnRtvSclNumShf) API


  Required Parameter:

1 Session handle Input Binary(4)

  Omissible Parameter Group:

2 Shift amount Output Binary(4)
3 Error code I/O Char(*)

  Returned Value:

Shift amount Output Binary(4)

  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Retrieve Number of Columns to Shift Scroller (QsnRtvSclNumShf) API returns the default number of columns to shift the scroller by for the Shift Scroller Left (QsnShfSclL) and Shift Scroller Right (QsnShfSclR) APIs. The default number of columns is specified on the session description. See Create a Session (QsnCrtSsn) API and Change Session (QsnChgSsn) API for details.


Authorities and Locks

None


Required Parameter

Session handle
INPUT; BINARY(4)

A handle for the session to be queried.


Omissible Parameter Group

Shift amount
OUTPUT; BINARY(4)

The variable that contains the number of scroller columns to shift by when the QsnRtvSclNumShf API has completed.

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

Shift amount
OUTPUT; BINARY(4)

Returns the value for the shift amount parameter if the operation was successful, or -1 otherwise.


Error Messages

Message ID Error Message Text
CPF24B4 E Severe error while addressing parameter list.
CPF3CF1 E Error code parameter not valid.
CPF3CF2 E Error(s) occurred during running of &1 API.
CPFA31E E Required parameter &1 omitted.
CPFA3D6 E Session handle is incorrect.


API introduced: V2R3
Top | Dynamic Screen Manager APIs | APIs by category