22.12.2012 Views

z/TPF Program Management - IBM

z/TPF Program Management - IBM

z/TPF Program Management - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Use selective activate exits<br />

Selective activate exits allow you to limit the use of an E-type loader loadset to a<br />

specific ECB origin. An ECB origin can be a terminal address, communication line<br />

number, port number, user ID, NCP ALS, NCP name, and others.<br />

To use the selective activate function you must:<br />

v Activate the selective activation function during system generation.<br />

v Create an enable command.<br />

v Create a disable command.<br />

Activate the selective activation function<br />

Create an enable command<br />

You can activate the selective activation function in the CONFIG macro or by using<br />

the ZSYSG command. When activated, selected ECBs can enter the programs and<br />

files in a selectively activated loadset. Otherwise, no ECBs can enter the programs<br />

and files in a selectively activated loadset. See z/<strong>TPF</strong> Operations for more<br />

information about ZSYSG.<br />

To enable loadsets for specific ECB origins, create a command that builds two<br />

core-resident structures; a selective activation table and a selective activation index.<br />

The selective activation table should contain loadset names and selective activation<br />

numbers. The selective activation index should contain the ECB origins and<br />

pointers to the loadset names. Entries should be added to these structures using a<br />

user-defined enable message. To do this your command should do the following:<br />

1. Add the ECB origin to the selective activation index.<br />

2. If the loadset name is already in the selective activation table, update the index.<br />

3. If the loadset name is not in the selective activation table, add the entry and call<br />

the selective activate utility (COLW) to set the activation number. Update the<br />

index.<br />

Note: COLW returns an activation number of zero if the loadset has not been<br />

selectively activated.<br />

4. Update the file resident structure (if one exists) to allow enable requests to<br />

survive an IPL.<br />

Figure 10 shows an example of a selective activation table. Figure 11 on page 92<br />

shows an example of a selective activation index.<br />

Loadset Name Selective Activation Number<br />

------------ ---------------------------<br />

Joseph 0<br />

Sally 4<br />

Fred1 8<br />

Figure 10. Selective activation table example<br />

Note: In Figure 10, Joseph was enabled to be used from an ECB origin, but is not<br />

yet activated selectively. Loadsets Sally and Fred1 were selectively activated<br />

and were assigned activation numbers 4 and 8, respectively.<br />

© Copyright <strong>IBM</strong> Corp. 2005, 2012 91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!