02.07.2013 Views

System Control Blocks

System Control Blocks

System Control Blocks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Contents Directory Entry<br />

(MVT Only)<br />

The contents supervision feature of the<br />

supervisor determines the location of<br />

requested programs, fetches the program to<br />

main storage if necessary, and schedules<br />

the execution of these programs for the<br />

request,ing tasks .As a byproduct of these<br />

functions, records are kept of all programs<br />

in main storage.<br />

One of these records is the contents<br />

directory entry (CDE), which describes the<br />

requested module. Each area of storage<br />

occupied by a job step has a contents<br />

directory recording each load module<br />

requested by the step. Entries in the<br />

contents directory (CDEs) contain the names<br />

of load modules and pointers to their entry<br />

points. The CDE is initialized with<br />

descriptive information from the input<br />

parameters of the request. When the module<br />

is located, its attributes are further<br />

recorded in the CDE.<br />

If the caller has specified an alias<br />

entry point within the called module, two<br />

contents directory entries will be created<br />

for that module. One, the major CDE,<br />

contains the main entry point name: the<br />

other, the minor CDE, contains the alias<br />

entry point name.<br />

CDEs are maintained either within a 'job<br />

pack area control queue (JPACQ), which is<br />

pointed to by the TCBJPQ field of the MVT<br />

task control block, or within a link pack<br />

area control queue (LPACQ), which contains<br />

CDEs describing modules normally resident<br />

in the link pack area.<br />

Figure 2 illustrates the format of the<br />

CDE. Descriptions of the fields follow the<br />

illustration.<br />

contents Directory Entry 11

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

Saved successfully!

Ooh no, something went wrong!