Some installations want to avoid that users need to logon to TPX itself; instead users should be presented directly with the Session List when they select TPX. This document describes how this can be realized.
The concept is to assign the Terminal name as userid for every user and to switch off Security. The user then is directly taken to the TPX Main menu showing the list of sessions. When logging on to the Application the Security System checks userid and password for the given Application.
Here is a description of what to do in order to avoid users having to logon to TPX itself:
//TPX PROC TPREFIX='TPX', TPX DATASET NAME PREFIX // VNODE=APTPX, THE TPX APPL MEMBER IN VTAMLST // SMRT=SMRTTEST, SYSTEM OPTIONS TABLE // ACT=ACTTEST, APPL CHARACTERISTICS TABLE // ... // TMSK=name_of_table // ...
* Dynamic Users Allowed: Y * Save Dynamic Users: N * Default Dynamic User Profile: xxxxxxxx'Dynamic Users Allowed' specified that you need not to define the users but that they are getting their session list via a profile.
After a restart of TPX the Terminal name will be used as a userid. Security Validation will not be performed - this takes place when the users log on to their Applications.
For Administration purpose you need to setup a second TPX that only administrator(s), and helpdesk people, can get onto. This TPX need to share the ADMIN-files with the first one. To allow the Administrators to log on setup a second TPX-Start Job which differs from the first one in one step: Do not define a Terminal Option Table by using "TMASK=" in that Job. This will present the users with the TPX-Logon screen where they need to logon.
You need to define the Administrators of that TPX as static users in TPXADMIN. You also need to define the Applications (mainly TPXADMIN and TPXOPER) which they need to access from that second TPX in their User Settings or Profile.
When an administrator or helpdesk person needs access these are the steps they need to follow.
If you do not want to use two TPX-regions but only one this can be done under one condition:
The Administrators have fixed physical terminal names under which they logon every day. If they get their physical terminal assigned from a pool the names of the terminals need to be distinct from the names the dynamic users have. Best would be if the administrators use physical terminals with a different prefix (say 'AD' for example) than the other users. If this is given, you can add a second entry in the Terminal Option Table mentioned in Step 1. above.
That second entry should specify the prefix (here "AD------") and on the third panel specify in field "Use Terminal name as Userid (Autosign):" N (NO).
The name of the entry need to be first in alphabetical order so that it is checked first when users log on:
--------------------------------------------------------------------------- TPX Terminal Options Table Entry List Panelid - TEN0141 Command ===> Userid - XXXXXXX Termid - A54L901 Terminal Options Table: ABCDEF Date - 01/11/12 Time - 11:11:11 Entry Mask characters ADMIN AD------ USERS ******** ****************************** BOTTOM OF DATA *****************************
When an Administrator now logs on from a physical terminal whichs name starts with 'AD' the first Entry in the Terminal Options Table is used and he is presented the TPX Logon screen. This is because his physical Terminal Id will not be used as his userid, and he is defined as static.