Getting Started with TRANSACT (32247-90007)
22 Chapter1
Getting Started
Sorting the Data
10 Line 10 prints rint the city and state immediately under the street address
and suppresses generation of a column heading.
11 The JOIN= option specifies that this item is to be joined to the previous
item by leaving only one blank space between the two items. For example,
the data item CITY-STATE is 20 bytes long. It only takes 13 bytes to store
the value “San Jose, Ca.”. Thus there are 7 trailing blanks in the
CITY-STATE item for this value. JOIN=1 specifies that only one blank
should appear between the last nonblank character of CITY-STATE and
the first character of ZIP-CODE.
The program produces a report that looks like this:
Figure 1-8. Report Produced by FORMAT Options
Wed. Mar 30, 1988 LIST OF CUSTOMERS REPORT PAGE 1
CUSTOMER
Able-1 Answering
2775 Park Av
San Jose, Ca. 95111
Grand Depression
27 E Main
Santa Clara, Ca. 95122