Work with Forms Control Table (WRKFCT)
Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
Work with FCT
Use the WRKFCT command to display, change, or remove FCT entries. The output is either shown on the Work with Forms Control Table Entries display, or printed with the job's spooled output.
Each line of the display presents information about the FCT entries. This information includes the host form type, the type of writer used (indicated by *PRT or *PUN), the local form type, and the name of the file that receives the output stream.
Error messages for WRKFCT
*ESCAPE Messages
- RJE0028
- Device type &2 for form type &1 does not exist in &3.
- RJE0214
- Command &1 failed. Entry &2 in &3 was not changed.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
FCT | Forms control table | Qualified object name | Required, Positional 1 |
Qualifier 1: Forms control table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
FORMTYPE | Host form type | Character value, *ALL | Optional, Positional 2 |
DEVTYPE | Device type | *ALL, *PRT, *PUN | Optional, Positional 3 |
OUTPUT | Output | Optional |
Top |
Forms Cntrl Table (FCT)
Specifies the qualified name of the FCT with which to work.
The possible library values are:
- *LIBL: The library list for the job is used to locate the FCT.
- *CURLIB: The current library for the job is used to locate the FCT. If no current library is specified, QGPL is used.
- library-name: Specify the name of the library where the FCT is located.
forms-control-table-name: Specify the name of the FCT with which to work.
Top |
Host Form Type (FORMTYPE)
Specifies the host form type associated with the FCT.
The possible values are:
- *ALL: Specifies all form types.
- generic*-host-system-form-type: Specify the generic name of the host form type. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all host form types with names that begin with that string, and for which you have authority, are shown. If an asterisk is not included, the system assumes the string to be the complete name of the host form type.
For more information on the use of generic functions, see the CL Reference.
- host-system-form-type: Specify the host form type.
Top |
Device Type (DEVTYPE)
Specifies the device type for which the specified form type is displayed.
The possible values are:
- *ALL: All device types are selected.
- *PRT: Only printer devices are selected.
- *PUN: Only punch devices are selected.
Top |
Output (OUTPUT)
Specifies whether output from the command is displayed at the requesting workstation, or printed with the job's spooled output.
The possible values are:
- *: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
- *PRINT: Output is printed with the job's spooled output. The IBM-supplied printer file QPDSPFCT is used to print the FCT.
Top |
Examples
NoneTop |
Error messages
*ESCAPE Messages
- RJE0028
- Device type &2 for form type &1 does not exist in &3.
- RJE0214
- Command &1 failed. Entry &2 in &3 was not changed.
Top |