Browse Prior Art Database

Merging All Records From a Data File Into a Single DOCUMENT

IP.com Disclosure Number: IPCOM000036947D
Original Publication Date: 1989-Nov-01
Included in the Prior Art Database: 2005-Jan-29
Document File: 3 page(s) / 51K

Publishing Venue

IBM

Related People

Gentry, ML: AUTHOR

Abstract

This article describes a method that allows all data from a data file or variables document to be extracted into a DisplayWrite program output document using the Merge function of the DisplayWrite program.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 62% of the total text.

Page 1 of 3

Merging All Records From a Data File Into a Single DOCUMENT

This article describes a method that allows all data from a data file or variables document to be extracted into a DisplayWrite program output document using the Merge function of the DisplayWrite program.

The conventional use of the variable control in the DisplayWrite program has been the generation of form letters. That is, a shell document is created of the form:

This is combined with variable data either from a data file of a variables document to produce an output letter for each data record or variables document page:

(Image Omitted)

However, this function does not allow the data from all the records or variables document pages to be collected into a single output document.

This can be accomplished with the "Begin Repeat" and "End Repeat" controls. The function of these controls is demonstrated in the following example: Consider a shell document of the form:

(Image Omitted)

When this document is merged, the variables between the repeat controls are repeatedly resolved, for a single output document, for each record in the data file or variables document page as long as the conditions are satisfied. This allows the records or variables document pages to be consolidated into a single document:

(Image Omitted)

Variables that are not contained with the begin/end repeat sequence are handled in the same usual DisplayWrite method.

The user interface that solicits the information needed by the begin repeat...