03.03.2015 Views

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

CA Dynam for VSE User Guide

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.

Using DYNACC<br />

The service module is loaded at runtime into dynamically acquired storage.<br />

Under <strong>VSE</strong>, the service modules may be preloaded into the Shared Virtual<br />

Area. Alternatively, they will be loaded at runtime into the partition GETVIS<br />

area by DYNACC. The Version 2 service module, <strong>CA</strong>CUDA20, is approximately<br />

12K in size. It acquires a further 16K or more <strong>for</strong> catalog buffers and work<br />

areas, depending on the options specified by the caller.<br />

Linkage Conventions<br />

DYNACC is called using standard IBM linkage conventions.<br />

Linkage register usage on entry is as follows:<br />

R1<br />

R13<br />

R14<br />

R15<br />

points to the parameter list.<br />

points to a standard <strong>for</strong>mat save area (XL72).<br />

points to the return address in the calling program.<br />

points to the entry point in DYNACC<br />

On return, R15 will contain a return code and the condition code is set to<br />

facilitate error processing. The return code is also stored in a field in the<br />

DYNINFO header (DYNRTCOD) <strong>for</strong> use by high-level languages.<br />

Parameter List Contents<br />

The parameter list is in IBM standard <strong>for</strong>mat as generated by the Assembler<br />

<strong>CA</strong>LL macro and equivalent higher level constructs. Assembler programmers<br />

should use the <strong>CA</strong>LL macro to ensure strict adherence to linkage conventions,<br />

upon which DYNACC relies.<br />

The parameter list contains one entry, as follows:<br />

+0 A(DYNINFO) - address of DYNINFO<br />

The high-order bit should be on to denote end-of-list. This ensures<br />

compatibility should a future release support additional calling parameters.<br />

Chapter 10: Accessing the Catalog 10–3

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

Saved successfully!

Ooh no, something went wrong!