Convert RJE Data (CVTRJEDTA)

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

Convert RJE Data

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.

Error messages for CVTRJEDTA

*ESCAPE Messages

RJE0109
Processing of command ended because of error.
RJE0110
Error(s) occurred during processing of command.
RJE0196
Record from host longer than expected length.
Top

Parameters

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

Input File (INFILE)

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

Output File (OUTFILE)

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

Output Member (OUTMBR)

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:

Top

File Member Seq Number (FSN)

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

Data Format (DTAFMT)

Specifies the format of the output data.

The possible values are:

Top

Output Rcd Lngth (OUTRCDLEN)

Specifies the record length of the converted data.

The possible values are:

Top

Forms Cntrl Table (FCT)

Specifies the qualified name of the FCT to be used when converting the data.

The possible values are:

Top

Examples

None
Top

Error messages

*ESCAPE Messages

RJE0109
Processing of command ended because of error.
RJE0110
Error(s) occurred during processing of command.
RJE0196
Record from host longer than expected length.
Top