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.

LOCATE SYMBOL<br />

Messages<br />

H<strong>CP</strong>002E Invalid oper<strong>and</strong> - oper<strong>and</strong><br />

v For normal assembler routines, the CSECT is longer than 0 bytes. Therefore,<br />

when you enter a LOCATE comm<strong>and</strong> for an assembler module, <strong>CP</strong> shows you<br />

the length of the entire module. If you enter a LOCATE comm<strong>and</strong> for an entry<br />

point within an assembler module, <strong>CP</strong> does not display any information about the<br />

module’s length, because entry points are not defined to have length.<br />

v For PLX routines, the first CSECT is 0 bytes long. If you enter a LOCATE<br />

comm<strong>and</strong> for a PLX module, <strong>CP</strong> does not display any information about the<br />

length of the entire module. Entry points within a PLX module are actually<br />

independent CSECTs <strong>and</strong> are longer than 0 bytes. When you enter a LOCATE<br />

comm<strong>and</strong> for an entry point within a PLX module, <strong>CP</strong> shows you the length of<br />

the CSECT indicated by that entry point.<br />

This distinction is apparent in the following examples.<br />

If you use pattern matching to find the addresses of all the external symbols that<br />

start with the letters H<strong>CP</strong>ZSP, you may see the following:<br />

locate symbol hcpzsp*<br />

10:45:00 H<strong>CP</strong>ZSP = 003D1CB0 Resident 0000A8 Bytes<br />

10:45:00 H<strong>CP</strong>ZSPPP = 003D1D30 Resident<br />

10:45:00 H<strong>CP</strong>ZSPRD = 003D1D10 Resident<br />

Ready;<br />

H<strong>CP</strong>ZSP is an Assembler module; the other two items listed are entry points within<br />

it.<br />

If you use pattern matching to find the addresses of all the external symbols that<br />

start with the letters H<strong>CP</strong>CFC, you may see the following:<br />

locate symbol hcpcfc*<br />

10:45:09 H<strong>CP</strong>CFC = 0087BAD0 Resident<br />

10:45:09 H<strong>CP</strong>CFCMD = 0087BAD0 Resident 000900 Bytes<br />

10:45:09 H<strong>CP</strong>CFCSD = 0087C3D0 Resident 0003A8 Bytes<br />

Ready;<br />

H<strong>CP</strong>CFC is a PLX module; the other two items are entry points within it.<br />

H<strong>CP</strong>003E Invalid option - comm<strong>and</strong> contains<br />

extra option(s) starting with option<br />

H<strong>CP</strong>026E Oper<strong>and</strong> missing or invalid<br />

H<strong>CP</strong>1003E External symbol name {is|was} not<br />

found.<br />

H<strong>CP</strong>6720I No items found to satisfy selection<br />

criteria<br />

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

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

Saved successfully!

Ooh no, something went wrong!