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.

|<br />

|<br />

|<br />

|<br />

|<br />

Common deployment . . . . . . . . . . . . . . . . . . . . . . 37<br />

Common deployment configuration file . . . . . . . . . . . . . . . . 38<br />

Common deployment status file. . . . . . . . . . . . . . . . . . . 39<br />

Function-unique processing . . . . . . . . . . . . . . . . . . . . 39<br />

Part 2. Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41<br />

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

Acquire and install an ELF-compatible compiler . . . . . . . . . . . 43<br />

Build the GNU compiler collection for the z/<strong>TPF</strong> system . . . . . . . . 45<br />

Unpack the GNU compiler collection for the z/<strong>TPF</strong> system . . . . . . . 49<br />

Set up access to the <strong>IBM</strong>2047 code page . . . . . . . . . . . . . . 53<br />

Using EBCDIC code pages . . . . . . . . . . . . . . . . . . . . 53<br />

Setting the GCC ELF-compatible compiler version to use . . . . . . . . 55<br />

Assemble, compile, and link (build) application programs . . . . . . . 57<br />

Define the HFS directory structure and environment files . . . . . . . . . 57<br />

Real-time environment file: maketpf.env_billing . . . . . . . . . . . . 58<br />

Linux offline environment file: maketpf.env_billing_linux . . . . . . . . . 58<br />

z/OS offline environment file: maketpf.env_billing_zos . . . . . . . . . 59<br />

Set up a configuration file . . . . . . . . . . . . . . . . . . . . . 59<br />

Set up automated loading to remote z/OS systems . . . . . . . . . . . 60<br />

Create a single-segment BSO . . . . . . . . . . . . . . . . . . . 61<br />

Create a single-segment BSO using a generic makefile . . . . . . . . . . 62<br />

Create a multiple-segment BSO with multiple external entry points . . . . . . 62<br />

Use common source files in multiple-segment BSOs . . . . . . . . . . . 63<br />

Add stubs for BAL programs with transfer vectors . . . . . . . . . . . . 64<br />

Create a C shared object . . . . . . . . . . . . . . . . . . . . . 64<br />

Create an archive for online programs . . . . . . . . . . . . . . . . 67<br />

Create an offline Linux program. . . . . . . . . . . . . . . . . . . 67<br />

Create an archive for offline Linux programs . . . . . . . . . . . . . . 68<br />

Create an offline z/OS program . . . . . . . . . . . . . . . . . . . 68<br />

Create an export file . . . . . . . . . . . . . . . . . . . . . . . 69<br />

Update export files . . . . . . . . . . . . . . . . . . . . . . . 70<br />

Resolve TSOC0001W warnings. . . . . . . . . . . . . . . . . . . 70<br />

Update the FACE table . . . . . . . . . . . . . . . . . . . . . . 71<br />

Load system components to a new z/<strong>TPF</strong> system . . . . . . . . . . . 73<br />

Initialize and format the loader general file and online modules . . . . . . . 73<br />

Create the general file loader input file . . . . . . . . . . . . . . . . 74<br />

Load system components to the loader general file . . . . . . . . . . . 74<br />

Load fixed-file records . . . . . . . . . . . . . . . . . . . . . . 74<br />

Load system components to an existing z/<strong>TPF</strong> system . . . . . . . . . 77<br />

Create a new image . . . . . . . . . . . . . . . . . . . . . . . 77<br />

Define a new image . . . . . . . . . . . . . . . . . . . . . . 77<br />

Copy CTKX, IPL areas, program areas, and CIMR components . . . . . . 77<br />

Create an image loader input file . . . . . . . . . . . . . . . . . . 78<br />

Load system components to a storage medium . . . . . . . . . . . . . 78<br />

Load system components to the target image . . . . . . . . . . . . . 78<br />

Enable the target image . . . . . . . . . . . . . . . . . . . . . 78<br />

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

IPL the image . . . . . . . . . . . . . . . . . . . . . . . . . 79

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

Saved successfully!

Ooh no, something went wrong!