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

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

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

DEFINE EXIT<br />

►►<br />

DEFine<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

EXit<br />

exit<br />

AT<br />

entry + offset<br />

Privilege Class: A<br />

instruction<br />

NORESolve<br />

RESolve<br />

Use DEFINE EXIT to dynamically define a new exit point in <strong>CP</strong>.<br />

You can also dynamically define a new <strong>CP</strong> exit point during system initialization<br />

using the DEFINE EXIT configuration file statement. For more information, see the<br />

z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong> Administration book.<br />

exit<br />

is the number of the exit point you are defining. This value must be a<br />

hexadecimal number between X'0' <strong>and</strong> X'FFFF'. The recommended value is<br />

between X'F000' <strong>and</strong> X'FFFF', because that range is reserved for customer use.<br />

All other exit numbers are reserved for <strong>IBM</strong>, vendor, or general use.<br />

AT entry + offset instruction<br />

identifies the location of the exit point you are defining <strong>and</strong> the instruction that is<br />

located at the exit point. The variable entry must be a 1-to-8-character string.<br />

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 alphabetic or numeric characters, the four special<br />

characters ($, #, _, or @), or any combination. The variable offset must be a<br />

1-to-4-character even hexadecimal number between X'0' <strong>and</strong> X'FFFE'. The<br />

variable instruction must be a 2-, 4-, or 6-character hexadecimal number.<br />

NORESolve<br />

tells <strong>CP</strong> to resolve the entry points associated with this exit number the first<br />

time they are called. This is the default.<br />

RESolve<br />

tells <strong>CP</strong> to resolve the entry points associated with this exit number when the<br />

association is first established. Any existing associated entry points are resolved<br />

immediately.<br />

PARM<br />

▼ parameter<br />

PARM parameter<br />

is a list of one or more parameters to be supplied to the exit. Five kinds of<br />

tokens can be used to define a parameter:<br />

1. Addresses: strings up to eight characters long, consisting of the<br />

hexadecimal digits 0 through 9 <strong>and</strong> A through F.<br />

DEFINE EXIT<br />

2. General Registers: strings beginning with G or R, followed by a decimal<br />

number between 0 <strong>and</strong> 15 or a hexadecimal digit, designating the contents<br />

of a general register.<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!