Add Forms Control Entry (ADDFCTE)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

Add FCT Entry

The ADDFCTE command adds an entry to an existing FCT. The FCT can contain up to 9999 entries. Each entry includes the following forms-control attributes:

Error messages for ADDFCTE

*ESCAPE Messages

RJE0024
Errors found. Processing of request ended.
RJE0050
Entry cannot be added to the forms control table &1.
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 Required, Positional 2
DEVTYPE Device type *PRT, *PUN Optional, Positional 3
LCLFORM Local form type Character value, *FORMTYPE Optional
FILE Output file Single values: *WTRE, *NONE
Other values: Qualified object name
Optional
Qualifier 1: Output file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
MBR Member Name, *WTRE, *FIRST, *GEN Optional
FSN File member sequence number 0-999, *WTRE Optional
DTAFMT Data format *WTRE, *DATA, *FCFC, *CMN Optional
CHLVAL Channel values Single values: *FILE
Other values (up to 12 repetitions): Element list
Optional
Element 1: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
Element 2: 1-255
FORMSIZE Form size Single values: *FILE
Other values: Element list
Optional
Element 1: Form length 1-255
Element 2: Form width 1-255
LPI Lines per inch *FILE, 4, 6, 8, 9 Optional
CPI Characters per inch *FILE, 10, 15 Optional
COPIES Number of copies 1-99, *FILE Optional
PGM Program to call Single values: *WTRE, *NONE
Other values: Qualified object name
Optional
Qualifier 1: Program to call Name
Qualifier 2: Library Name, *LIBL, *CURLIB
MSGQ Message queue Single values: *WTRE, *NONE
Other values: Qualified object name
Optional
Qualifier 1: Message queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Forms Cntrl Table (FCT)

Specifies the qualified name of the FCT to which the entry is added.

The possible library values are:

forms-control-table-name: Specify the name of the FCT to which an entry is added.

Top

Host Form Type (FORMTYPE)

Specifies the host form type for the FCT entry. The value is received from the host subsystem in either a peripheral data set information record (PDIR) for SNA, or a form-mount message for BSC. It must contain from one through eight alphanumeric characters. Lowercase letters, blanks, or special characters must be enclosed in apostrophes. For example, a host form type of blanks is specified as FORMTYPE (' ') (four blanks).

Top

Device Type (DEVTYPE)

Specifies the device type associated with the FCT entry.

The possible values are:

Top

Local Form Type (LCLFORM)

Specifies the local form type. It replaces the FORMTYPE value received from the host subsystem. This makes the form-mount messages more understandable to the system user when the output from the job is received. The local form type contains more characters than the host form type, and therefore can be more descriptive.

The possible values are:

Top

Output File (FILE)

Specifies the qualified name of the file that receives the data from the host subsystem.

The possible values are:

Top

Member (MBR)

Specifies the file member to which output is directed. This parameter applies only if you specify a DDM, physical, or source physical file in the FILE parameter.

The possible values are:

Top

File Member Seq Number (FSN)

Specifies the initial three-digit FSN that is used to create member names. This parameter applies only if you specify *GEN for the MBR parameter.

The possible values are:

Top

Data Format (DTAFMT)

Specifies the format of the output data.

The possible values are:

Top

Channel Values (BCHLVAL)

Specifies the printer carriage channel information, which is used to determine which line on a page to skip to before printing the next line of output.

The possible values are:

Top

Form Size (FORMSIZE)

Specifies the form size on the server printer.

The possible values are:

Note: If you specify OUTRCDLEN(*FIXED), use a form width of 198 with 15 characters per inch (cpi) and a form width of 132 with 10 cpi. If FORMSIZE(*FILE) and CPI(15) are specified, the form width should be 198 in the printer file description. If you specify OUTRCDLEN(*FILE), ensure that the form width is either greater than or equal to the length of the longest record that is received for this form type. If the form width is greater than the record length, the record is right-padded with blanks.

Top

Line per Inch (LPI)

Specifies the number of print lines per inch (lpi) on the server printer.

The possible values are:

Top

Characters per Inch (CPI)

Specifies the number of characters per inch (cpi) on the server printer. The CPI parameter applies only when RJE is writing to a printer file.

The possible values are:

Note: When host data is written by an RJE printer to a printer file, the record size that RJE uses is dependent on the cpi when *FIXED is specified for OUTRCDLEN, and on the page width when *FILE is specified. If OUTRCDLEN(*FIXED) and CPI(15) are specified, the form width in the FORMSIZE parameter should be 198 characters. Otherwise, the record is truncated to the specified form width.

Top

Number of Copies (COPIES)

Specifies the number of copies to print. This parameter applies only to spooled files.

The possible values are:

Top

Program to Call (PGM)

Specifies the qualified name of a user program associated with the session description.

The possible values are:

Top

Message Queue (MSGQ)

Specifies the qualified name of the message queue to which messages for the writer are sent.

The possible values are:

Top

Examples

None
Top

Error messages

*ESCAPE Messages

RJE0024
Errors found. Processing of request ended.
RJE0050
Entry cannot be added to the forms control table &1.
Top