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

Create successful ePaper yourself

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

Using DYNACC<br />

DYNACC communicates with calling programs using a communications area or<br />

parameter list called DYNINFO. Significant enhancements were made to<br />

DYNACC Version 1, as shipped with <strong>CA</strong> <strong>Dynam</strong> r5.3 and additional fields have<br />

been added to DYNINFO. However, changes have been made in a way which<br />

should be compatible with existing programs. Because both Version 1 and<br />

Version 2 <strong>for</strong>mats are supported by DYNACC, there is no mandatory<br />

requirement to change to the new <strong>for</strong>mat.<br />

Testing DYNACC Programs<br />

DYNATEST is a new feature in DYNACC Version 2. The DYNATEST macro has<br />

been provided as an easy way of learning about DYNACC, the differences<br />

between Version 1 and Version 2, and <strong>for</strong> prototyping strategies <strong>for</strong> retrieving<br />

Catalog in<strong>for</strong>mation. DYNATEST will generate a program to exercise any<br />

DYNACC function and will print a report detailing the results. Programs can be<br />

generated to use either Version 1 or Version 2 parameter lists and will execute<br />

on any supported operating system. You may use the generated programs as<br />

a guide when developing your own programs.<br />

DYNINFO Parameter List Generation<br />

The DYNINFO parameter list used to control DYNACC is generated by copying<br />

a definition in the appropriate language from the library in which <strong>CA</strong> <strong>Dynam</strong> is<br />

installed. Assembler programs should invoke the DYNINFOA macro directly.<br />

For more in<strong>for</strong>mation, see DYNINFO Parameter List or per<strong>for</strong>m a test assembly<br />

invoking the DYNINFOA macro with no parameters <strong>for</strong> a description.<br />

Detailed documentation on DYNINFO and DYNACC function and return codes<br />

has been built into DYNINFOA and is printed when that macro is invoked with<br />

INFO=YES (the default) as a parameter.<br />

Using DYNACC<br />

DYNACC is supplied as a relocatable object module suitable <strong>for</strong> linking with a<br />

calling program. DYNACC resides in the library in which <strong>CA</strong> <strong>Dynam</strong> was<br />

installed. DYNACC Version 2 is a root module which dynamically invokes a<br />

separate service module depending on the version of the parameter list.<br />

DYNACC is approximately 1K bytes in length. It has one entry point. DYNACC<br />

uses <strong>CA</strong> <strong>Dynam</strong> system functions and so will only execute if <strong>CA</strong> <strong>Dynam</strong> is<br />

installed and available.<br />

Under CMS, provided <strong>CA</strong> <strong>Dynam</strong> can be located, DYNACC will activate the<br />

System Adapter automatically, if necessary. Under <strong>VSE</strong>, the System Adapter<br />

must already be active when DYNACC is first invoked.<br />

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

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

Saved successfully!

Ooh no, something went wrong!