CA TPX Session Management for z/OS

Tuesday Tip: Do you know how to get the status of an application in an ACL program?

  • 1.  Tuesday Tip: Do you know how to get the status of an application in an ACL program?

    Posted 08-29-2014 10:29 AM

    When you need information on the status of an Application in an ACL, you can use the function &APPL_INF(ApplicationID).

     

    This function returns one of the following values:

     

    ACTIVE      Indicates that the application is defined and is accepting logons. If the application is an internal application

                like TPXADMIN or TPXOPER, then the string TYPE=TPX is appended.

    INACT       Indicates that the application is defined but is inactive.

    QUIESCED    Indicates that an operator quiesced the application in TPX. New sessions will   not be started.

    UNDEFINED   Indicates that the application is not defined to CA-TPX.

     

    Usage of these variables is normally in a SCAN-Statement where the value is compared against a string. Depending on the result, which is stored in a Condition Code, processing continues.