Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The CVTRJEDTA command converts data written in communications format to data in FCFC or data format written to a device, DDM, or physical file.
The INFILE must be in SNA or BSC communications format, and can be a DDM file.
If a file in the list of input files causes an error condition, the command issues an error message and skips to the next input file in the list.
If a DDM file is specified as the OUTFILE parameter, *FIRST must be specified as the MEMBER parameter.
Note: If an FCT is specified in this command, the PGM parameter in the FCT entries is ignored.
*ESCAPE Messages
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
INFILE | Input file | Values (up to 8 repetitions): Element list | Required, Positional 1 |
Element 1: Input file | Qualified object name | ||
Qualifier 1: Input file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
Element 2: Member | Name, *FIRST, *ALL | ||
OUTFILE | Output file | Qualified object name | Required, Positional 2 |
Qualifier 1: Output file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OUTMBR | Output member | Name, *GEN, *FIRST | Optional, Positional 3 |
FSN | File member sequence number | 0-999, 1 | Optional |
DTAFMT | Data format | *FCFC, *DATA | Optional |
OUTRCDLEN | Output record length | *FIXED, *FILE | Optional |
FCT | Forms control table | Single values: *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Forms control table | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies up to eight qualified names for communications format input files. If an input file does not contain data in communications format, an error message is issued.
You cannot override the INFILE parameter with OVRDBF MBR(*ALL). If this is attempted, the file is skipped and an error message is sent. To format all the members of a physical file, use the *ALL option for the physical file member name.
The possible library values are:
Element 1: Input File Names
input-file-name: Specify up to eight names for communications format input files.
Element 2: Member Names
The possible values are:
Top |
Specifies the qualified name of the file that receives the formatted output of the command. This file is only used when no matching FCT entry is found.
The possible library values are:
file-name: Specify the name of the diskette, DDM, physical, printer, or source physical file that receives the formatted output. Diskette and printer files must be program described, with a single record format and field.
Top |
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 OUTFILE parameter.
The possible values are:
If a member name already exists in the file, the three-digit sequence number is incremented by one until a unique name is reached and a member is created, or until sequence numbers up to and including 999 have been tried without creating a member.
If no member is created, the writer issues a message requesting you to either try again or to cancel this file.
Top |
Specifies the initial three-digit FSN that is used to create member names. This parameter applies only if *GEN is specified for the MBR parameter.
The possible values are:
Top |
Specifies the format of the output data.
The possible values are:
The data can be written to a physical file in FCFC format and printed later using the Copy File (CPYF) command, specifying an FCFC printer file for the TOFILE parameter. The record length of the physical file must include one extra byte for the FCFC code.
Top |
Specifies the record length of the converted data.
The possible values are:
The maximum record length that RJE supports, including carriage-control characters, is 255 bytes. To ensure record alignment, the record length (page width) of the output file must be greater than or equal to the logical record length of the data that is received from the host subsystem.
Top |
Specifies the qualified name of the FCT to be used when converting the data.
The possible values are:
The possible library values are:
Top |
Top |
*ESCAPE Messages
Top |