Previous Topic: Format of the ADDPROF MacroNext Topic: Switch-in Exit


Affinity Processing

At a number of points throughout the signon process, you can request that the signon process be terminated and a switch be made to PASS the terminal to another CA TPX. By default, this decision is made after the alter profile call based on the value found in UIDXOWN. Switch requests made in the TPXUSNSF exit will override the default Affinity setting in the System Options Table (SMRT). The switch requests allow an installation to recognize that a switch will take place and to make the switch event earlier in the signon to avoid unnecessary processing in this system.

After being switched, complete signon processing takes place in the destination system. One reason for providing this flexibility is to allow you to determine heuristically, based on some selection criteria, which system is to support this user. Because this process can set up a never-ending loop of switches, you should include a mechanism to guard against such an occurrence.

The address of the 8-byte C Affinity name is contained in +24 of the parameter list. The user must place the application ID in the specified address. When the call point is entered, this product will have placed blanks in the address.