WBSV gate, INQUIRE_CURRENT_SESSION function
The INQUIRE_CURRENT_SESSION function inquires on the current session.
Output parameters
- SESSION_TOKEN
- Optional parameter. This is the Web server session token.
- USER_TOKEN
- Optional parameter. This is the ISC user token.
- SERVER_BIN_IP_ADDRESS
- Optional parameter. This is the server IP address returned by a SOCKETS_INQUIRE.
- SERVER_IP_ADDRESS
- Optional parameter. This is the IP address of the server.
- SERVER_IP_ADDRESS_LEN
- Optional parameter. This is the length of the server IP address.
- SERVER_IP_ADDRESS_TYPE
- Optional parameter. This is address type of the server IP address.
- CLIENT_BIN_IP_ADDRESS
- Optional parameter. This is the binary form of the client IP address.
- CLIENT_IP_ADDRESS
- Optional parameter. This is the IP address of the client.
- CLIENT_IP_ADDRESS_LEN
- Optional parameter. This is the length of the client IP address.
- CLIENT_IP_ADDRESS_TYPE
- Optional parameter. This is address type of the client IP address.
- TCPIPSERVICE_NAME
- Optional parameter. This is the TCPIP service name returned by SOCKETS_INQUIRE.
- TRANSID
- Optional parameter. This is the transaction ID returned by SOCKETS_INQUIRE.
- LISTENER_PORT
- Optional parameter. This is the listener port number returned by SOCKETS_INQUIRE.
- SSLTYPE
- Optional parameter. This is the SSL type returned by SOCKETS_INQUIRE.
- PROTOCOL
- Optional parameter. This is the protocol returned by SOCKETS_INQUIRE.
- SOCKET_TOKEN
- Optional parameter. This is the socket token returned by SOCKETS_INQUIRE.
- CLUSTER_TYPE
- Optional parameter. This is the cluster type returned by SOCKETS_INQUIRE.
Values for the parameter are:
- NONE
- SAME_SYSPLEX
- SAME_IMAGE
- SAME_STACK
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- NON_WEB_TRANSACTION
- SESSION_CLOSED
- INFO_NOT_AVAILABLE
- The following values are returned when RESPONSE is INVALID:
- INVALID_FORMAT
- INVALID_FUNCTION
- The following values are returned when RESPONSE is DISASTER:
- ABEND
- LOOP
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces