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.

H<strong>CP</strong>LDR Control Statements <strong>and</strong> Output<br />

1. Padding helps in debugging a program. If a program references unspecified<br />

areas, you can detect such references by padding with a value of X'F0' or some<br />

similar value.<br />

Parameter Control Statement<br />

The parameter control statement supplies a parameter string that a loaded system<br />

uses upon execution.<br />

Format:<br />

1 2–4 5–72<br />

X'02' PRM parmstring<br />

Where:<br />

X'02'<br />

must appear in column 1.<br />

PRM<br />

is the parameter control statement acronym.<br />

parmstring<br />

is a parameter string having a 2-byte length field followed by the parameter.<br />

When the system begins execution, general purpose register one addresses<br />

this parameter string.<br />

Subsystem Control Statement<br />

The subsystem control statement specifies a subsystem <strong>and</strong> the location within a<br />

virtual machine where the subsystem appears. Such a subsystem is a separately<br />

loaded system, having its own relocation, page boundaries, cross reference listings,<br />

<strong>and</strong> load maps. However, the system loader loads the subsystem as a part of the<br />

main system. Use such a “system loaded within a system” for st<strong>and</strong>-alone<br />

programs. You can load the programs as part of the <strong>CP</strong> nucleus.<br />

Format:<br />

1 2–4 5–72<br />

X'02' SYS name [loc]<br />

Where:<br />

X'02'<br />

must appear in column 1.<br />

SYS<br />

is the subsystem control statement acronym.<br />

name<br />

is the name of the subsystem.<br />

loc<br />

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

is the location where the subsystem appears in the virtual machine. If omitted,<br />

the location is 0.

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

Saved successfully!

Ooh no, something went wrong!