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.

General Reporting−DYNPRINT<br />

Creating Customized Reports<br />

With DYNPRINT you can modify existing reports, either permanently or as<br />

needed. Additionally, you can create new, custom reports. These may be<br />

saved in object <strong>for</strong>m <strong>for</strong> repetitive use, or compiled and executed in one job<br />

step <strong>for</strong> once-only use.<br />

To compile and link a new or customized report program, you may either use<br />

the <strong>CA</strong> Earl compiler directly or to go through the COMPILE feature of<br />

DYNPRINT. To compile and execute in one step, you must use the COMPILE<br />

feature. DYNPRINT invokes the <strong>CA</strong> Earl compiler and then executes the<br />

resulting object program, assuming no serious errors are detected by the<br />

compiler.<br />

The <strong>CA</strong> Earl source programs used to generate the standard report programs<br />

are supplied with DYNPRINT, and can be found on the DYNPRINT library with a<br />

member type of '0' (zero). The source members have the same name as the<br />

object members.<br />

To customize a report, you must update the source book, either with the<br />

existing or a new name. The updated source member could then be compiled<br />

with the <strong>CA</strong> Earl compiler, linkage edited and cataloged into the execution<br />

library. The program in the execution library must have a name that is known<br />

to DYNPRINT (such as CUS01 or DYNAF) and correspond to an existing report<br />

name keyword (such as CUSTOM01 or ACTVFILE).<br />

For more in<strong>for</strong>mation about instructions and examples of compiling and<br />

linkage editing <strong>CA</strong> Earl programs, see the <strong>CA</strong> Earl documentation.<br />

Once a phase named CUSnn has been cataloged into a library in the DYNPRINT<br />

phase search chain, that report program may be invoked by the REPORT<br />

command using the CUSTOMnn report-name keyword.<br />

You can make use of the SELECT option in any custom report. The SELECT<br />

keyword values defined <strong>for</strong> all custom reports are:<br />

Value EACSELOP Bit EACSELOP Value<br />

REPORT1 15 1<br />

REPORT2 14 2<br />

REPORT3 13 4<br />

REPORT4 12 8<br />

9–8 <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!