z/TPF Program Management - IBM
z/TPF Program Management - IBM
z/TPF Program Management - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Load E-type programs and files to an enabled system<br />
Complete the following steps to load new E-type programs and files to a z/<strong>TPF</strong><br />
system:<br />
1. “Create an E-type loader input file.”<br />
2. “Load E-type programs and files to a storage medium”<br />
3. “Load, activate, and accept a loadset of programs and files” on page 82.<br />
E-type loader functions affect only the program base that is being used on the<br />
processor that the function was requested from. If other processors are using a<br />
different program base, those processors do not see the effects of E-type loader<br />
functions until they begin to use the same program base.<br />
For example, in a loosely coupled environment where processor A is using program<br />
base 1 and processor B is using program base 2, if you issue the ZOLDR<br />
ACTIVATE command on processor A, the specified loadset is started on all<br />
processors using program base 1. Because processor B is using program base 2,<br />
the specified loadset is not actually activated on that processor until you perform an<br />
initial program load (IPL) using program base 1.<br />
When using the E-type loader to load files, you must use the ZOLDR ACCEPT<br />
command to ensure that the file changes are persistent. In the case of an affiliated<br />
file, changes to the file in the loadset are not reflected in the existing online version.<br />
If you use the E-type loader to move a C function from one program to another, all<br />
callers of the function must be included in the same loadset.<br />
If you use the E-type loader to move an entry point from one program to another,<br />
the loadset must be deactivated or accepted before the entry point can be moved<br />
again.<br />
Create an E-type loader input file<br />
You can create an E-type loader input file on z/OS or Linux.<br />
To create an E-type loader input file based on a control file, enter bldtpf -old. The<br />
bldtpf command, by default, will write the loader input file to bldtpf.old_loaddeck.<br />
Enter man bldtpf for more information.<br />
To manually create an E-type loader input file, create a file containing the E-type<br />
loader input parameters. See “E-type loader” on page 115 for more information.<br />
See “OLDR input file” on page 158 for an example of an E-type loader input file.<br />
Load E-type programs and files to a storage medium<br />
To load an E-type loader input file on z/OS, use the E-type loader JCL cards.<br />
Sample JCL is provided in the base/samples/jcl directory. See “JCL statements” on<br />
page 117 for more information.<br />
You can use the loadtpf command on Linux to load E-type programs and files to<br />
your z/<strong>TPF</strong> system. You can specify a control file, a loader input file, a load file, a<br />
program name, a file, or a shared object as input and loadtpf will call the bldtpf and<br />
© Copyright <strong>IBM</strong> Corp. 2005, 2012 81