Start Print Format Utility (STRPFU)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
This command allows you to perform an option of print format utility directly without viewing the Work with PFD Definitions display.
Error messages for STRPFU
*ESCAPE Messages
- AFP0010
- An error occurred.
- AFP22A0
- Print request canceled.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
PFDFILE | PFD file | Single values: *PRV Other values: Qualified object name |
Optional, Positional 1 |
Qualifier 1: PFD file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
PFDMBR | PFD definition | Name, *PRV, *SELECT | Optional, Positional 2 |
OPTION | Option | *BLANK, ' ', 1, 2, 3, 4, 6, 7, 9 | Optional, Positional 3 |
Top |
PFD file (PFDFILE)
Specifies the PFD definition file and library that contain the PFD definition to be worked with.
The possible values are:
- *PRV
- Specifies that the print format utility is to use the name of the PFD definition file and library used in your last print format utility session. If you specify *PRV for the PFDFILE parameter, it is not necessary to specify a library.
- PFD-definition-file-name
- Type the name of an existing PFD definition file to be used. If you specify the PFD-definition-file-name and a library name, print format utility searches the specified library for the PFD definition file. If you do not specify a library name, *LIBL is used.
The possible library values are:
- *LIBL
- The library list is used to locate the file.
- *CURLIB
- The current library for the job is used to locate the file. If no library is specified as the current library for the job, QGPL is used.
- library-name
- Specify the library where the file resides.
Top |
PFD definition (PFDMBR)
Specifies the name of the PFD definition to be worked with or created. The default value for this parameter depends on if you specify the PFDFILE parameter.
The possible values are:
- *SELECT
- This is the default value if you specify the PFDFILE parameter. If you choose *SELECT, you will get the lists of all PFD definitions in the specified PFD definition file and library. Select one or more PFD definitions to work with on the display.
- *PRV
- This is the default value if you do not specify the PFDFILE parameter. *PRV is the name of the previous PFD definition that was used.
- PFD-definition-name
- Type the name of the PFD-definition you want to work with.
Top |
Option (OPTION)
Specifies the function to perform on the selected PFD definition. The default value depends on if you specify a PFD definition name.
The possible values are:
- *BLANK or ' '
- This is the default value if you do not specify a PFD definition name. *BLANK specifies no action.
- 1=Create
- Type 1 to create a PFD definition.
- 2=Change
- This is the default value if you specify a PFD definition name.
Type 2 to change a PFD definition.
- 3=Copy
- Type 3 to copy a PFD definition.
- 4=Delete
- Type 4 to delete a PFD definition.
- 6=Print
- Type 6 to print a PFD definition.
- 7=Rename
- Type 7 to rename a PFD definition.
- 9=Print database file
- Type 9 to print a database file member by using a PFD definition.
Top |
Examples
NoneTop |
Top |