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.

DYNINFO Parameter List<br />

Service Module Processing<br />

On initial entry, DYNACC determines what version parameter list has been<br />

passed by the caller. Depending on the version level of the caller's parameter<br />

list, an appropriate service module is dynamically invoked. The service module<br />

returns directly to the caller. If the caller uses a Version 1 <strong>for</strong>mat parameter<br />

list, the service module invoked is <strong>CA</strong>CUDA10. This module was created by<br />

applying maintenance correcting all <strong>CA</strong> <strong>Dynam</strong> r5.3 known DYNACC problems<br />

to the standard 5.3 DYNACC object module and linking it as a separately<br />

loadable module.<br />

This ensures that programs which yielded correct results using DYNACC<br />

Version 1 will continue to execute correctly when relinked with DYNACC<br />

Version 2.<br />

DYNACC sets a return code and returns immediately to the caller if it is unable<br />

to locate the System Adapter or the appropriate service module.<br />

DYNINFO Parameter List<br />

The DYNINFO parameter list may be generated in a number of ways.<br />

Invoking DYNACC from COBOL and <strong>CA</strong> Earl Programs<br />

High level language processors may use a source (copybook) description.<br />

Copybooks are supplied <strong>for</strong> COBOL and <strong>CA</strong> Earl. The name of the copybook is<br />

obtained by appending a language identifier character to the name DYNINFO.<br />

For COBOL it is DYNINFOC and <strong>for</strong> <strong>CA</strong> Earl it is DYNINFOE. These reside in the<br />

same library as DYNACC.<br />

Invoking DYNACC from Assembler Programs<br />

Assembler programmers should use the DYNINFOA macro. For compatibility<br />

with Version 1, an Assembler copy unit called DYNINFO is also supplied. This<br />

contains a DYNINFOA macro call with parameters set to generate a Version 1<br />

<strong>for</strong>mat parameter list. This ensures that programs which were written to use<br />

the earlier version will not be impacted unless you explicitly change the<br />

version level of the parameter list.<br />

The DYNINFOA macro generates a parameter list in the correct <strong>for</strong>mat <strong>for</strong><br />

either Version 1 or <strong>for</strong> Version 2.<br />

10–4 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!