Why does it happen that I get message
TEN0011 APPLICATION FOR SESSION xyz IS UNAVAILABLE
in an extra panel when trying to logon to an application?
When you try to logon to an application that currently is not available you get a message in the fifth line of the TPX Main menu saying
==> Application not available <==
When this application is not available and is checked for availability using the VTAM INQUIRE APPLSTAT macro you will instead get this message TEN0011:
**********************************************************
* *
* MSGID: TEN0011 *
* *
* CAUSE: APPLICATION FOR SESSION TPX11B *
* IS UNAVAILABLE *
* *
* EXPLANATION: APPLICATION STATE = CLOSED *
* *
* TO PROCEED, EITHER - *
* *
* 1. HIT ENTER - TO GET RECONNECTED *
* *
* 2. RE-ENTER THE COMMAND: *
* *
* ===> *
* *
**********************************************************
You need to acknowledge this panel by pressing ENTER and then you are brought back to the TPX Session screen.
If you do not want to get these messages in the future you need to switch off "Inquire on application status" for this application.
The INQUIRE APPLSTAT macro checks the application for availability in intervals when the ACT parameter "Inquire on application status" is set to Y.
You can access this feature in the ACT:
A reload of that ACT in TPXOPER using command RELOAD ACT=<name_of_act> will bring the changed value into effect.
The interval of the check for availability is determined in the 4th panel of the SMRT in field "Inquire Checking Interval" where you enter an interval in minutes. Take care that this interval is not to small, otherwise there is a lot of traffic in VTAM only for checking purposes.
An application not available is marked with the string "N/A" in the TPX Main menu.