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.

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

Responses<br />

3. The customer-written <strong>CP</strong> routines that you are loading must be on a disk that<br />

<strong>CP</strong> has access to when the load operation is performed. If you have a<br />

<strong>CP</strong>XLOAD statement in your system configuration file that specifies the<br />

NODELAY oper<strong>and</strong>, the customer-written <strong>CP</strong> routines must be on the parm<br />

disk because the minidisks specified on <strong>CP</strong>_ACCESS statements are not<br />

available until the end of the initialization process. If your <strong>CP</strong>XLOAD statement<br />

specifies the DELAY oper<strong>and</strong>, the customer-written <strong>CP</strong> routines can be a file<br />

on any disk, as long as you have specified a <strong>CP</strong>_ACCESS statement for that<br />

disk in your system configuration file.<br />

4. You can specify run-time <strong>and</strong> load oper<strong>and</strong>s on either the <strong>CP</strong>XLOAD<br />

comm<strong>and</strong> or the OPTIONS directive, or both. However, if you specify options<br />

on both <strong>and</strong> those options conflict, <strong>CP</strong> uses the options from the <strong>CP</strong>XLOAD<br />

comm<strong>and</strong>. For example, suppose you specify PERMANENT on the OPTIONS<br />

directive <strong>and</strong> TEMPORARY on the <strong>CP</strong>XLOAD comm<strong>and</strong>, <strong>CP</strong> will load the <strong>CP</strong><br />

routines as temporary. For more information about the OPTIONS directive <strong>and</strong><br />

several other directives, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.<br />

5. To assign entry points <strong>and</strong> external symbols to an exit point <strong>and</strong> to enable or<br />

disable that exit point, use the ASSOCIATE EXIT comm<strong>and</strong> (page 18).<br />

6. To assign an external symbol to a local message repository, use the<br />

ASSOCIATE MESSAGES or MSGS comm<strong>and</strong> (page 23).<br />

7. To display information about customer-written <strong>CP</strong> routines loaded by the<br />

<strong>CP</strong>XLOAD comm<strong>and</strong>, use the QUERY <strong>CP</strong>XLOAD comm<strong>and</strong> (page 751).<br />

8. To display information about external symbols you may have loaded, use the<br />

LOCATE SYMBOL comm<strong>and</strong> (page 557).<br />

9. To remove <strong>CP</strong>XLOADed files from <strong>CP</strong>’s system execution space:<br />

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

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

MESSAGES, or MSGS comm<strong>and</strong>s or configuration file statements<br />

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

customer-written <strong>CP</strong> routines.<br />

For more information about the ASSOCIATE EXIT, MESSAGES, or MSGS<br />

statements, see the z/<strong>VM</strong>: <strong>CP</strong> Planning <strong>and</strong> Administration book.<br />

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

system execution space, about run-time <strong>and</strong> load oper<strong>and</strong>s, <strong>and</strong> about<br />

<strong>CP</strong>XLOAD directives, see the z/<strong>VM</strong>: <strong>CP</strong> Exit Customization book.<br />

11. <strong>CP</strong>XLOAD provides the ability to load executable code, message repositories,<br />

<strong>and</strong> data modules dynamically. Only compiled files may be loaded. These<br />

compiled files would be the TEXT file output from the assembler or from the<br />

CMS GENMSG comm<strong>and</strong>.<br />

Response 1:<br />

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

To permanently load a multiprocessor capable abend text deck, enter the following:<br />

cpxload abend text * mp control kaos permanent<br />

Loaded as identifier 7<br />

Ready;<br />

Note that <strong>CP</strong> assigns a load identifier (load ID) to the loaded <strong>CP</strong> routines. Please<br />

make a note of this number. If you ever want to unload these <strong>CP</strong> routines (using<br />

the <strong>CP</strong>XUNLOAD comm<strong>and</strong>), you will need to specify the load ID that <strong>CP</strong> assigned.<br />

If you do not know the load ID, use the ALL oper<strong>and</strong> of the QUERY <strong>CP</strong>XLOAD

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

Saved successfully!

Ooh no, something went wrong!