Document ID : KB000025515
Last Modified Date : 14/02/2018
Show Technical Document Details


The "Inquire on application" parameter the ACT (Application Characteristics Table) tells TPX whether or not to issue the VTAM INQUIRE APPLSTAT macro for this application.

If you specify N, both session setup and application status-checking will bypass the VTAM INQUIRE. This means that the status field on the TPX Menu can't be maintained for this application.

In SNA environments where the application is either on a back-level host or is not normally activated by VTAM, specify N to avoid extensive search activity.


The normal reasons a TPXL0139 SESSION INQUIRE FAILED message occurs are:

  • VTAM returns bad inquire application status to TPX, or
  • Search time for inquire runs out and application status not found

This message indicates one or more of the following:

  1. Application is down,
  2. Cross domain resource is having a problem,
  3. VTAM path to the application is blocked

To address this error:

  1. Verify that the application is up.
  2. Verify that you have all of the recommended customization for this application: TPX 5.4 - Customizing for Certain Applications
  3. If you suspect that the application is available, you can set the TPX ACT table field INQUIRE-ON-APPL-STATUS to NO as a work-around. Reload ACT. Log off and back on to TPX.
  4. If the application is still not accessible after setting INQUIRE-ON-APPL-STATUS to NO, check for any new error messages. For example, LU is unavailable and sensecode 087D which is indicative of a VTAM pathing error, so it is likely that VTAM is the cause and may need to be cycled or otherwise addressed.