Hello RMCobol Community. Please allow me to ask for help with XBIS, specifically "B$SetInactivityTimeout" and "B$SetServiceTimeout"
There are 3 ways to set "SetInactivityTimeout"
- Globally, BIS_SESSION_INACTIVITY_TIMEOUT=600
- In the .srf “SessionParms(InactivityTimeout=600)
- From the service program, Call "B$SetInactivityTimeout" using {600}
BIS_SESSION_INACTIVITY_TIMEOUT=600 has lowest priority and can be overwritten by:
- SessionParms(InactivityTimeout=600)
- Call "B$SetServiceTimeout"
When setting “SetInactivityTimeout” from the service program, “Call "B$SetServiceTimeout"” must be done before “Call "B$ReadRequest"” in order for the timeout to become effective.
My question:
Is my understanding of “SetInactivityTimeout” correct?
There are 3 ways to set "SetServiceTimeout"
- Globally, BIS_SERVICE_TIMEOUT=30
- In the .srf “SessionParms(ServiceTimeout=30)”
- From the service program, Call "B$SetServiceTimeout" using {30}
BIS_SERVICE_TIMEOUT=30 has the lowest priority and can be overridden by:
- SessionParms(ServiceTimeout=30)
- Call "B$SetServiceTimeout"
When setting "SetServiceTimeout" from the service program, the timeout becomes effective when “Call "B$SetServiceTimeout"” is complete.
My question:
Is my understanding of "SetServiceTimeout" correct?
#BIS
#ServiceTimeout
#InactivityTimeout
#XBIS