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.

Usage Notes<br />

DISAble<br />

tells <strong>CP</strong> not to call the entry points <strong>and</strong> external symbols associated with this<br />

exit point until you enable it. (For more information about enabling exit points,<br />

see Usage Note 4.) If omitted, DISABLE is the default.<br />

ENable<br />

tells <strong>CP</strong> to immediately start calling the entry points <strong>and</strong> external symbols<br />

associated with this exit point.<br />

EPName name<br />

is the name (or names) of the entry point or external symbol that <strong>CP</strong> calls when<br />

encountering this exit point number. Each name must be a 1- to 8-character<br />

string. The first character must be alphabetic or one of the following special<br />

characters: dollar sign ($), number sign (#), underscore (_), or at sign (@). The<br />

rest of the string can be alphanumeric characters, the 4 special characters ($,<br />

#, _, <strong>and</strong> @), or any combination thereof.<br />

Note: The order that you specify the entry points <strong>and</strong> external symbols is the<br />

order in which <strong>CP</strong> will call them.<br />

1. Before you use the ASSOCIATE EXIT comm<strong>and</strong>, you should issue the<br />

<strong>CP</strong>XLOAD comm<strong>and</strong> or configuration file statement to load the<br />

customer-written <strong>CP</strong> routines for the exit point into <strong>CP</strong>’s system execution<br />

space. These <strong>CP</strong> routines should contain the entry point names <strong>and</strong> external<br />

symbols that you will specify on the ASSOCIATE EXIT comm<strong>and</strong>.<br />

If you do not issue the <strong>CP</strong>XLOAD comm<strong>and</strong> or statement first or you issue the<br />

ASSOCIATE EXIT comm<strong>and</strong> with an unknown entry point or external symbol,<br />

<strong>CP</strong> just ignores any entry point name or external symbol that it does not<br />

recognize <strong>and</strong> continues normal processing. If the unknown entry point or<br />

external symbol is part of a list associated with an exit point, <strong>CP</strong> continues<br />

processing the other members of the list. <strong>CP</strong> does not ignore an exit point<br />

because it cannot find one entry point or external symbol in the list. <strong>CP</strong> only<br />

ignores an exit point if it cannot find all the entry points <strong>and</strong> external symbols<br />

in the list.<br />

For more information about the <strong>CP</strong>XLOAD comm<strong>and</strong>, see page 101.<br />

For more information about the <strong>CP</strong>XLOAD statement, see the z/<strong>VM</strong>: <strong>CP</strong><br />

Planning <strong>and</strong> Administration book.<br />

2. To display whether there are any unknown entry points or external symbols<br />

associated with an exit point, use the QUERY UNRESOLVED comm<strong>and</strong> (page<br />

1062).<br />

3. If you issue the ASSOCIATE EXIT comm<strong>and</strong> <strong>and</strong> do not specify the ENABLE<br />

oper<strong>and</strong>, <strong>CP</strong> will redefine the exit point with the information from your<br />

ASSOCIATE EXIT comm<strong>and</strong>, but will not call any of the entry points or<br />

external symbols associated with that exit point until you later enable it.<br />

4. There are 2 ways to enable an exit point:<br />

ASSOCIATE EXIT<br />

v Enter another ASSOCIATE EXIT comm<strong>and</strong> <strong>and</strong> specify the ENABLE<br />

oper<strong>and</strong>, or<br />

v Use the ENABLE EXITS comm<strong>and</strong> (page 431).<br />

By default, exit points are disabled. Thus, in general, you should follow any<br />

ASSOCIATE EXIT comm<strong>and</strong>s or statements with ENABLE EXITS comm<strong>and</strong>s<br />

or statements.<br />

5. <strong>CP</strong> calls the entry points <strong>and</strong> external symbols for an exit point in the order<br />

that you specify them on the ASSOCIATE EXIT comm<strong>and</strong>, unless an entry<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 19

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

Saved successfully!

Ooh no, something went wrong!