IBM AS/400 Photo Scanner User Manual


 
Data in Record Layout
There are three types of data that can be specified.
Variable data
Reserved variable data
Fixed data
Variable Data:
The field data from a database file (printed as text, bar codes, and
referred to page segment names, or graphic names) is called variable data. You
can specify not only their locations in the record layout, but also the fonts used for
the text, if it is underlined or not, color, direction, bar code types, and so on.
Use one of the following to specify the name of a field whose value is printed:
the
Text data
prompt for text elements
the
Bar code data
prompt for bar code elements
the
Text data
prompt for box elements
| Field names must be uppercase and enclosed with an ampersand (&) and a period
(.). For example, specify a field name PRODCT as follows:
Text data . . . . &PRODCT.
Field names and constant data may be concatenated in a prompt. The following
are all correct values:
ABC&PRODCT.XYZ
&PRODCT.&PRICE.
The &PRODCT. is the best product, and price is &PRICE. dollars.
The name of a field that contains an object name to be printed can be specified by
using one of the following:
| For page segments, the
Page segment
prompt
For graphics elements, the
Folder
prompt,
Document
prompt,
File
prompt,
Library
prompt, and
Member
prompt.
| Field names must be uppercase and enclosed with an ampersand (&) and a period
(.). Concatenating two or more variable fields and fixed data is allowed the same
as for variable text data.
For more information about the mapping name, see “Specify Mapping Object
Name” on page 185.
Note: Variable data can be specified only in the record layout.
Reserved Variable Data:
The following data can be specified as text on a text
element or on a box element in the record layout in the same manner as printing
variable data from the database file. The following reserved variable names can be
specified to print the variable data:
*DATE The date the Print Database File Member job is requested.
*TIME The time the Print Database File Member job is requested.
*PAGNBR The number of the page on which the record is printed.
*RCDNBR The record number within the database file.
Chapter 10. Work with PFD Definitions 159