Step 3 - Creating a PFD Definition
To print data from a database file, you must create a PFD definition from the Work
with PFD Definitions display. The AFP Utilities for AS/400 print the data according
to your PFD definition.
à ð
Work with PFD Definitions
File . . . . . . . . . . PFDFILE Name, F4 for list
Library . . . . . . . . MYLIB Name, \LIBL, \CURLIB
PFD definition . . . . . \ALL Name, generic\, \ALL
Position to . . . . . . . Starting characters
Type options, press Enter.
1=Create 2=Change 3=Copy 4=Delete 6=Print PFD definition 7=Rename
9=Print database file
PFD
Opt Definition Text Changed
1 PRODUCTLBL
(No PFD definitions in file)
Bottom
Parameters or command
===>
F3=Exit F4=Prompt F5=Refresh F9=Retrieve F11=Display names only
F12=Cancel
á
ñ
|For example, the following describes how to create a PFD definition in PFD file
|'PFDFILE' located in library 'MYLIB' to print the label below from the database file
|'QAFCPFDDTA' in library QGPL.
Figure 20. Sample Label
Example Actions:
1. Type 1 (Create) in the
Opt
column in the first line of the list.
2. Type the PFD definition name PRODUCTLBL in the
PFD Definition
column in the
first line of the list.
3. Press the Enter key.
The Create PFD Definition display allows you to select the action items for creating
a PFD definition.
Chapter 8. Getting Started with Print Format Utility 107