When a user signs on to a terminal while sessions are active at another terminal, care must be taken, especially in the signoff function call. The session is not transferred until the signon process is complete, and the user is not linked to the new terminal until the signoff process has completed.
During signon, you can detect whether a user has active sessions on another terminal by inspecting the value of UINDEX field UIDXTERM. If UIDXTERM is not 0, it is pointing to the Session Block of the terminal currently associated with this user. The terminal LUNAME is located at offset +6 from this address. The signoff function call will occur sometime after the signon call for the new terminal, but other signon or signoff calls for other terminals or users can occur between the last signon call for the new terminal and the signoff call for the old. To help you correlate these calls, CA TPX reserves a field UIDXUSER in the UINDEX for use by the signon exit.
|
Copyright © 2013 CA.
All rights reserved.
|
|