How can I use INQUIRE APPLSTAT in SOLVE:Access?
search cancel

How can I use INQUIRE APPLSTAT in SOLVE:Access?

book

Article ID: 12170

calendar_today

Updated On:

Products

SOLVE:Operations Automation SOLVE:Access Session Management SOLVE:FTS SOLVE

Issue/Introduction



How can I use INQUIRE APPLSTAT in SOLVE:Access to show the status of applications in the Session selection menu?

Environment

SOLVE:Access 5.0 on z/OS

Resolution

If you want VTAM to check the status of applications please do the following:
Define the Applications for which you want the status to be inquired by commands

 APPLSTAT APPL=applname

It is convenient to place these commands into procedure $ACINIT so that they are executed every time SOLVE:Access is started.

The application status is set in an NCL global variable with name &&000applname with applname being the name of the application. The status can be one of the following: ACTIVE, INACTIVE, NOLOGONS, UNKNOWN, UNAVAIL and NOTAPPL 

The frequency of checking by VTAM can be influenced by System Parameter APPLSTIV. The default value is 300 seconds (=5 Minutes) and can be changed as follows:
a. Enter /PARMS oder =A.C.P at any Panel
b. Select Parameter Group $AC ACINIT
c. Hit PF4 to enter Update Mode, then change the value of „Application Status Interval“
d. Hit PF6 to let the change become effective.
    If you hit PF5 you see the Initialization Log which contains these messages:

     Sysparm APPLSTIV=600

     N12804 SYSPARMS APPLSTIV=600 OPERAND ACCEPTED.

With OCS-command SHOW SYSPARMS=APPL you get the complete list of applications for which INQUIRE APPLSTAT is active and the current valid inquire interval.