27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ASSOCIATE EXIT<br />

20 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

point overrides this action. Any entry point can tell <strong>CP</strong> to change the normal<br />

processing flow by skipping one or all subsequent entry points or external<br />

symbols.<br />

6. To display status <strong>and</strong> usage statistics information about a specific exit point,<br />

use the QUERY EXITS comm<strong>and</strong> (page 791).<br />

Note: While processing the ASSOCIATE EXIT comm<strong>and</strong> (or statement), <strong>CP</strong><br />

creates a <strong>CP</strong> exit block for the specified exit point. For a static exit<br />

point, <strong>CP</strong> does not create <strong>CP</strong> exit control blocks until you associate one<br />

or more entry points or external symbols with that exit point. If you try to<br />

issue a QUERY EXITS comm<strong>and</strong> against such an exit point, <strong>CP</strong> issues<br />

message H<strong>CP</strong>2752E as the response to your QUERY EXITS comm<strong>and</strong>.<br />

For a dynamic exit point, QUERY EXITS responds with the definition of<br />

the exit, even if there are no entry points associated with it.<br />

7. To display the real address of the <strong>CP</strong> exit block for a specific exit point, use<br />

the LOCATE XITBK comm<strong>and</strong> (page 565). Again, if you have not associated<br />

one or more entry points or external symbols with the specified exit point, there<br />

is no <strong>CP</strong> exit block for <strong>CP</strong> to locate <strong>and</strong> display. Instead, <strong>CP</strong> issues error<br />

message H<strong>CP</strong>2752E.<br />

8. To display the real address of the <strong>CP</strong> indirect call locator block for a specific<br />

exit point, use the LOCATE ICLBK comm<strong>and</strong> (page 539).<br />

9. To change the definition of an existing dynamic exit point, or to remove the exit<br />

point from the system, use the MODIFY EXIT comm<strong>and</strong> (page 618).<br />

10. To stop <strong>CP</strong> from calling the entry points <strong>and</strong> external symbols associated with<br />

one or more exit points after defining those exit points, use the DISABLE<br />

EXITS comm<strong>and</strong> (page 269).<br />

11. To remove the customer-written <strong>CP</strong> routines from <strong>CP</strong>’s system execution<br />

space:<br />

a. Use the DISASSOCIATE comm<strong>and</strong> (page 274) to revoke all entry point <strong>and</strong><br />

external symbol assignments made with the ASSOCIATE EXIT comm<strong>and</strong><br />

or configuration file statement<br />

b. Use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> (page 107) to unload the customer-written<br />

<strong>CP</strong> routines.<br />

12. Using the ASSOCIATE EXITS comm<strong>and</strong> or configuration file statement, you<br />

can add to the list of entry points <strong>and</strong> external symbols for an exit point, or you<br />

can replace the list. For example, if you associate entry points ZZZA1 <strong>and</strong><br />

ZZZA2 with an exit point:<br />

associate exit 1 epname zzza1 zzza2<br />

Ready;<br />

<strong>and</strong> then you associate additional entry points YYYB1 <strong>and</strong> YYYC2:<br />

associate exit 1 preceding epname yyyb1 yyyc2<br />

Ready;<br />

the final list of entry points would be:<br />

YYYB1 YYYC2 ZZZA1 ZZZA2<br />

13. To remove one or more entry points or external symbols from the list<br />

associated with an exit point, issue the ASSOCIATE EXIT comm<strong>and</strong> with the<br />

REPLACE oper<strong>and</strong> <strong>and</strong> specify only those entry points <strong>and</strong> external symbols<br />

that you want <strong>CP</strong> to call.<br />

14. If the exit point is disabled when you issue the ASSOCIATE EXIT comm<strong>and</strong>,<br />

<strong>CP</strong> immediately updates the list of entry points <strong>and</strong> external symbols with your<br />

changes. If the exit point is enabled, <strong>CP</strong> checks to see if the specified exit

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

Saved successfully!

Ooh no, something went wrong!