Previous Topic

Next Topic

Book Contents

Book Index

Example 3. Split a Report by Lines (Decollate by Line)

Many data centers have developed partial solutions to report distribution problems. One common solution is designation of the recipient as part of the report line (for example, as initial characters which are later not printed). Usually, this type of report is processed by Control-V without the use of the exit.

However, if each line of the report is to be distributed to a different user (that is, the page should be broken down by lines), the use of the CDAM exit is required. The exit can dynamically allocate a different CDAM dataset for each user, and actually decollate the report while it is written to CDAM. Member CTDX018S in the IOA SAMPEXIT library contains a sample exit that splits a report into two different CDAM datasets.

Parent Topic

CDAM User Exit CTDX018