Managing Data
84
PT Program Generator (PPG) v5.0
Write Type
To indicate where the new information is stored in the selected file, select one
of the following options:
.
Templates
A
template
is a structure that you can define and use to alter the way in which
collected data is stored. Templates can be used only in registers, not in file
records.
Template Uses
The most common use of templates is to parse data in a register. This allows
you to collect and store more than one type of information. For example, your
program could ask the user to first enter a location code for an item and then
the item number. The template would combine each set of values in a register,
and the value pair could then be copied to a file as fields in a single record.
Data in the file would be arranged either in fields of a fixed size, as in the fol-
lowing:
2348493848
48
393948
8
293832
9
832928
185 392038
28
282930
Insert
Places the data before a given record. When this option is selected, addi-
tional options allow you to choose a specific record in the file. (These options
are described in the preceding section, “Using a File as a Source.”)
Overwrite
Replaces a given record. When this option is selected, additional options
allow you to choose a specific record in the file. (These options are
described in the preceding section, “Using a File as a Source.”)
Append
Adds the data to the end of the existing file.
Sorted
Inserts the record into the file based on ascending ASCII value. Use this
option to insert records into a specified file that has already been sorted to
maintain the proper order of the records in the file.
2342.book Page 84 Thursday, July 22, 2004 8:35 AM
Содержание PT Program Generator
Страница 1: ...PT Program Generator User s Manual 2342 book Page 0 Thursday July 22 2004 8 35 AM...
Страница 16: ...Introduction 4 PT Program Generator PPG v5 0 NOTES 2342 book Page 4 Thursday July 22 2004 8 35 AM...
Страница 34: ...PPG Application Design 22 PT Program Generator PPG v5 0 NOTES 2342 book Page 22 Thursday July 22 2004 8 35 AM...
Страница 60: ...The PPG Menubar 48 PT Program Generator PPG v5 0 NOTES 2342 book Page 48 Thursday July 22 2004 8 35 AM...
Страница 88: ...Creating Using Nodes 76 PT Program Generator PPG v5 0 NOTES 2342 book Page 76 Thursday July 22 2004 8 35 AM...
Страница 174: ...The PPG Library 162 PT Program Generator PPG v5 0 NOTES 2342 book Page 162 Thursday July 22 2004 8 35 AM...
Страница 180: ...ASCII Hex Conversion Table 168 PT Program Generator PPG v5 0 NOTES 2342 book Page 168 Thursday July 22 2004 8 35 AM...
Страница 194: ...Glossary 182 PT Program Generator PPG v5 0 NOTES 2342 book Page 182 Thursday July 22 2004 8 35 AM...
Страница 203: ...2342 book Page 191 Thursday July 22 2004 8 35 AM...