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.

QUERY <strong>CP</strong>XLOAD<br />

Usage Notes<br />

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

configuration file statement to load these <strong>CP</strong> routines into <strong>CP</strong>’s system<br />

execution space. Each loadid must be a 1-digit to 10-digit decimal number<br />

between 0 <strong>and</strong> 2,147,483,647.<br />

Userid SYSTEM<br />

tells <strong>CP</strong> that you want to display only the customer-written <strong>CP</strong> routines loaded<br />

using <strong>CP</strong>XLOAD statements in the system configuration file.<br />

Userid userid<br />

tells <strong>CP</strong> that you want to display only the customer-written <strong>CP</strong> routines loaded<br />

by a specific user ID. The variable userid must be a 1-character to 8-character<br />

alphanumeric string that represents a virtual machine on your system that is, or<br />

was, capable of issuing <strong>CP</strong>XLOAD comm<strong>and</strong>s.<br />

1. To load customer-written <strong>CP</strong> routines into <strong>CP</strong>’s system execution space, use the<br />

<strong>CP</strong>XLOAD comm<strong>and</strong> (page 101). In response to your <strong>CP</strong>XLOAD comm<strong>and</strong>, <strong>CP</strong><br />

assigns <strong>and</strong> displays a load identifier (load ID). This load ID is a number<br />

between 0 <strong>and</strong> 2,147,483,647 that identifies the <strong>CP</strong> routines that you loaded. If<br />

you ever want to unload these routines (using the <strong>CP</strong>XUNLOAD comm<strong>and</strong>), you<br />

must specify the load ID in the comm<strong>and</strong> for <strong>CP</strong> to know what to unload.<br />

If you do not know the load ID for some <strong>CP</strong> routines that have already been<br />

loaded, you can use one of the following oper<strong>and</strong>s:<br />

v ALL (which is the default) to display information about all of the <strong>CP</strong> routines<br />

that have been loaded.<br />

v EPNAME name to display information about only the routines associated with<br />

a specific entry point name.<br />

v USERID SYSTEM to display information about only the routines loaded by<br />

the system configuration file at initialization.<br />

v USERID userid to display information about only the routines loaded by a<br />

specific user after initialization.<br />

2. To remove customer-written <strong>CP</strong> routines from <strong>CP</strong>’s system execution space,<br />

use the <strong>CP</strong>XUNLOAD comm<strong>and</strong> (page 107).After unloading the <strong>CP</strong> routines,<br />

<strong>CP</strong> frees the load ID <strong>and</strong> clears the information that was being stored about<br />

those <strong>CP</strong> routines. <strong>CP</strong> will not reuse this load ID until such time as your system<br />

is reinitialized.<br />

3. For more information about loading customer-written <strong>CP</strong> routines into <strong>CP</strong>’s<br />

system execution space, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.<br />

4. The addresses displayed by QUERY <strong>CP</strong>XLOAD are host logical addresses<br />

(addresses in <strong>CP</strong>’s system execution space). Some <strong>CP</strong> comm<strong>and</strong>s, such as<br />

DISPLAY HOST STORAGE, require host real addresses as oper<strong>and</strong>s. In z/<strong>VM</strong><br />

V5R1, the host logical address for a routine loaded with <strong>CP</strong>XLOAD is the same<br />

as the host real address <strong>and</strong> can be used on the DISPLAY HOST STORAGE<br />

comm<strong>and</strong>.

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

Saved successfully!

Ooh no, something went wrong!