gtpi1m2r | System Installation Support Reference |
Selective activate exits allow you to limit the use of an E-type loader loadset to a specific ECB origin. An ECB origin can be a terminal address, communication line number, port number, user ID, NCP ALS, NCP name, and others.
To use the selective activate function you must:
You can activate the selective activation function in the CONFIG macro or by using the ZSYSG command. When activated, selected ECBs can enter the programs in a selectively activated loadset. Otherwise, no ECBs can enter the programs in a selectively activated loadset. See TPF Operations for more information on ZSYSG.
To enable loadsets for specific ECB origins, create a command that builds two core-resident structures; a selective activation table and a selective activation index. The selective activation table should contain loadset names and selective activation numbers. The selective activation index should contain the ECB origins and pointers to the loadset names. Entries should be added to these structures using a user-defined enable message. To do this your command should do the following:
Figure 2 shows an example of a selective activation table. Figure 3 shows an example of a selective activation index.
Figure 2. Selective Activation Table Example
Loadset Name Selective Activation Number ------------ --------------------------- Joseph 0 Sally 4 Fred1 8
Figure 3. Selective Activation Index Example
Terminal Addr Index into Selective Activation Table ------------- ------------------ 020103 0 030567 0, 1 002203 1 292834 1, 2
The user-defined disable command should stop an ECB from using a loadset. This message should remove the index pointer for the selective activation index entry, and if there are no more index entries that reference the specified loadset, remove the associated selective activation table entry (if there are no more ECB origins that reference a loadset, there is no longer a need to maintain the activation number in the selective activation table). If there are no more loadsets enabled to be used by the specified ECB origin, then the index entry can be removed. By removing the table index from the index entry, ECBs originating from that origin will not have the specified loadset's activation number in their activation number list (which is used by Enter / Back to determine which version of a program to use). If a file copy of the mapping structure is maintained, then it will have to be updated to reflect the disable request.