11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.27 Program objects in a PDSE<br />

Functions to create, update, execute, and access<br />

program objects in PDSEs<br />

Load module format<br />

Binder replaces linkage editor<br />

Program fetch<br />

DESERV internal interface function AMASPZAP<br />

Set <strong>of</strong> utilities such as IEWTPORT, which builds<br />

transportable programs from program objects and<br />

vice versa<br />

Coexistence between PDS and PDSE load module<br />

libraries in the same system<br />

Figure 4-37 Program objects in PDSE<br />

Program objects in PDSE<br />

Program objects are created automatically when load modules are copied into a PDSE.<br />

Likewise, program objects are automatically converted back to load modules when they are<br />

copied into a partitioned data set. Note that certain program objects cannot be converted into<br />

load modules because they use features <strong>of</strong> program objects that do not exist in load modules.<br />

A load module is an executable program loaded by the binder in a PDS. A program object is<br />

an executable program loaded by the binder in a PDSE.<br />

Load module format<br />

For accessing a PDS directory or member, most PDSE interfaces are indistinguishable from<br />

PDS interfaces. However, PDSEs have a different internal format, which gives them increased<br />

usability. Each member name can be eight bytes long. The primary name for a program<br />

object can be eight bytes long. Alias names for program objects can be up to 1024 bytes long.<br />

The records <strong>of</strong> a given member <strong>of</strong> a PDSE are written or retrieved sequentially. You can use a<br />

PDSE in place <strong>of</strong> a PDS to store data, or to store programs in the form <strong>of</strong> program objects. A<br />

program object is similar to a load module in a PDS. A load module cannot reside in a PDSE<br />

and be used as a load module. One PDSE cannot contain a mixture <strong>of</strong> program objects and<br />

data members.<br />

The binder<br />

The binder is the program that processes the output <strong>of</strong> language translators and compilers<br />

into an executable program (load module or program object). It replaced the linkage editor<br />

152 <strong>ABCs</strong> <strong>of</strong> z/<strong>OS</strong> <strong>System</strong> <strong>Programming</strong> <strong>Volume</strong> 3

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

Saved successfully!

Ooh no, something went wrong!