Change Session (QsnChgSsn) API


  Required Parameter Group:


  Omissible Parameter:


  Returned Value:


  Default Public Authority: *USE

  Service Program: QSNAPI

  Threadsafe: No

The Change Session (QsnChgSsn) API changes the session description for the given session. If the session is currently displayed, it will be redrawn to reflect any changes.


Authorities and Locks

Exit Routine Authority
*EXECUTE

Required Parameter Group

Session handle
INPUT; BINARY(4)

A handle for the session for which the session description is to be changed.

Session description
INPUT; CHAR(*)

The format of the session description is shown in Format of the Session Description.

Length of session description
INPUT; BINARY(4)

The length of the session description parameter.


Omissible Parameter

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 essages 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 ]