22.12.2012 Views

z/TPF Program Management - IBM

z/TPF Program Management - IBM

z/TPF Program Management - 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.

To logically copy CIMR components from image <strong>TPF</strong>01 to image <strong>TPF</strong>02, use the<br />

ZIMAG COPY LOGICAL command. For example, enter ZIMAG COPY <strong>TPF</strong>01<br />

<strong>TPF</strong>02 COMP FCTB.ICDF.ACPL.SIGT.RIAT.USR1.USR2 LOGICAL, assuming that<br />

you are loading a new CPS0.<br />

Note: The CTKX, IPL areas, and program areas cannot be logically copied.<br />

Create an image loader input file<br />

Create an image loader input file by entering bldtpf -tld controlfile, where controlfile<br />

is the path to tpf.cntl or by coding an image loader input file manually. See<br />

“Image loader” on page 113 for more information on creating image loader input<br />

files. See “TLDR input file” on page 159 for an example image loader input file.<br />

Load system components to a storage medium<br />

Run the <strong>TPF</strong>LDR offline program with the TLDR parameter specified to load system<br />

components to a storage medium. Sample JCL is provided in the samples/jcl<br />

directory. See “z/<strong>TPF</strong> offline loader” on page 117 for information about running the<br />

<strong>TPF</strong>LDR program.<br />

Load system components to the target image<br />

Enable the target image<br />

Use the ZTPLD command to load system components from the storage medium to<br />

a target image. See “Online image loader component (ZTPLD)” on page 24 for<br />

more information.<br />

Use the ZIMAG ENABLE command to enable the image that you loaded the system<br />

components to. For example, to enable image <strong>TPF</strong>02, enter ZIMAG ENABLE<br />

<strong>TPF</strong>02. You will receive a message that tells you whether the components were<br />

loaded. To display any CIMR components that were not loaded, enter ZIMAG<br />

DISPLAY IMAGE <strong>TPF</strong>02. This will show you information about all of the CIMR<br />

components for <strong>TPF</strong>02. If a CIMR component is missing, you can copy it from<br />

another image by entering the ZIMAG COPY command or you can load the missing<br />

component by using the image loader (TLDR). To display any IPL components that<br />

were not loaded, enter ZIMAG DISPLAY IPL and determine from the IPL2 line if<br />

both IPLA and IPLB are loaded. If an IPL area is missing, you must enter ZIMAG<br />

COPY IPL or load the missing area by using the image loader (TLDR).<br />

Move keypoints to the working area (optional)<br />

78 z/<strong>TPF</strong> <strong>Program</strong> <strong>Management</strong><br />

If the keypoints for the new image are not compatible with the existing image, you<br />

must move the keypoints to the working area (#KEYPT). If the existing keypoints<br />

are compatible with the new image, you do not have to load or move new<br />

keypoints.<br />

Because it is dangerous to overlay keypoints, they are not loaded directly to the<br />

image; they are loaded to a staging area. Use the ZIMAG KEYPT MOVE command<br />

to move the keypoints from the staging area (#KSAx) to the working area<br />

(#KEYPT). The ZIMAG KEYPT MOVE command prompts you to continue (ZIMAG<br />

KEYPT CONT) or abort (ZIMAG KEYPT ABORT). After you move the keypoints to<br />

the working area, perform a hard IPL to put them in core storage.

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

Saved successfully!

Ooh no, something went wrong!