This subroutine acquires information about the current session.
How to write
CALL "COBW3_GET_SESSION_INFO" USING COBW3.
Data setting for calling
None
Processing result data
The timeout period (s) of the current session is set.
The number indicating the session ID of the current session is set.
The session data length (byte length) of the current session is set. This data can be acquired only if COBW3-SESSION-DATA-GROUPITEM is set as the format of the session data when a session is started. Zero is set if COBW3-SESSION-DATA-OBJECT is set as the format of the session data.
The format of the session data of the current session is set.
Condition name | Value | |
---|---|---|
COBW3-SESSION-DATA-GROUPITEM | "0" | Uses a group item as the session data. |
COBW3-SESSION-DATA-OBJECT | "1" | Uses an object reference item as the session data. |
The status of the current session is set.
Condition name | Value | |
---|---|---|
COBW3-SESSION-STATUS-NON | "0" | A session has not been started or has been terminated. |
COBW3-SESSION-STATUS-STARTED | "1" | A session has been started. |