Read a File (READFILE)

.. READFILE Control Stmnt

Use the .. READFILE control statement to include a new file in the input stream. This control statement can be placed in a command file, issued using direct-workstation input, or issued from the RJE console.

Parameters

Keyword Description Choices Notes
FILE Input file Qualified object name Required, Positional 1
Qualifier 1: Input file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
MBR Member Name, *FIRST, *ALL Optional, Positional 2
CMD Command file *NO, *YES Optional, Positional 3
SNDDLTRCD Send deleted records *NO, *YES Optional, Positional 4
DTATYP Data type *CHAR, *ANY Optional, Positional 5
RLS Release Control *NO, *YES Optional, Positional 6
MSGQ Message queue Qualified object name Optional, Positional 7
Qualifier 1: Message queue Name, *PRV, *NONE, *RDRE
Qualifier 2: Library Name, *LIBL, *CURLIB

Input File (FILE)

Specifies the qualified name of the file that contains the input stream being included.

The possible library values are:

database-file-name: Specify the name of the database file that contains the input stream.

Member (MBR)

Specifies the database file member being sent to the host subsystem.

The possible values are:

Command File

Specifies whether the file specified in the FILE parameter is searched for embedded RJE control statements.

The possible values are:

Send Del Records (SNDDLTRCD)

Specifies whether blank records are sent to the host subsystem when deleted records are found in the database file member.

The possible values are:

Data Type (DTATYP)

Specifies whether the file specified in the FILE parameter contains data characters less than hex 40.

The possible values are:

Release Control (RLS)

Specifies whether RJE will process the rest of the current file (that is, the file from which .. READFILE was issued) after the included file is processed. If not, the file is released from the nested stack of the files being read.

The possible values are:

Message Queue (MSGQ)

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

The possible values are:

The possible library values are:

message-queue-name: Specify the name of the message queue.

Examples

None

Error messages

Unknown