Browse Prior Art Database

Word Processor Having CONDITIONAL TEXT Printing for Mass Mailings

IP.com Disclosure Number: IPCOM000062286D
Original Publication Date: 1986-Nov-01
Included in the Prior Art Database: 2005-Mar-09
Document File: 3 page(s) / 44K

Publishing Venue

IBM

Related People

Koeller, PD: AUTHOR [+2]

Abstract

An improved method for conditionally printing sections of a document allows a user to merge data from a file into a shell letter to produce multiple copies of the document. Each copy of the letter can then be personalized to the recipient. In conjunction with the data-merge capability, two new embedded instructions have been provided to the user as follows: *BCT (field, file/query, query library, test condition, test value) *ECT where: *BCT = a keyword that indicates that some conditional test should be performed. If the result of the test is true, then all text and embedded instructions between the *BCT and *ECT instructions will be printed in the document. If the result of the test is false, then all text and embedded instructions between the *BCT and *ECT will not be printed in the document.

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 52% of the total text.

Page 1 of 3

Word Processor Having CONDITIONAL TEXT Printing for Mass Mailings

An improved method for conditionally printing sections of a document allows a user to merge data from a file into a shell letter to produce multiple copies of the document. Each copy of the letter can then be personalized to the recipient. In conjunction with the data-merge capability, two new embedded instructions have been provided to the user as follows: *BCT (field, file/query, query library, test condition, test value) *ECT where: *BCT = a keyword that indicates that some conditional test should be performed. If the result of the test is true, then all text and embedded instructions between the *BCT and *ECT instructions will be printed in the document. If the result of the test is false, then all text and embedded instructions between the *BCT and *ECT will not be printed in the document. file/query = the name of an IBM System/36 data file (if no query library is specified) or the name of a S/36 query. query library = the name of a S/36 library that contains the query specified above. test condition = the type of comparison to be performed EQ - equal NE - not equal GT - greater than LT - less than GE - greater than or equal LE - less than or equal test value = the constant value that the specified field is to be compared against. This value may be either a character string or a numeric value. Two programs provide the function: 1. QUERY/36 provides the capability to retrieve data from any file stored on IBM S/36. 2. DW/36 performs the comparison of the data against the test value and conditionally prints the text between the *BCT and *ECT. DW/36 is used to create a "shell" document that specifies which fields are to be merged into the document. The user specifies the fields at the exact position in the document where the merged data is to be located. The user also specifies the file or query that will define the merged fields. Likewise, the user can specify *BCT and *ECT instructions anywhere in their document to define sections of text that are to be conditionally printed. There is no restriction on where the *BCT or *ECT instructions are located in the document. There is also no restriction on what can be within a *BCT/*ECT pair.

For example, the text to be conditionally included may be a single space or it may be several pages of document with numerous embedded instructions. The user may next *BCT instructions up to seven levels deep similar to the nesting of IF statements in a programming language....