Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The SBMRJEJOB command sends an input stream to the host subsystem.
Through the OPTION parameter of this command, an input stream can be sent to the host subsystem immediately. Alternately, a batch job is placed on an RJE reader job queue, and the input stream is sent when the batch job runs.
Through the FILE parameter (*), you can start an interactive reader for direct-workstation input.
*ESCAPE Messages
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | Input file | Single values: * Other values: 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 |
SSND | RJE session description | Qualified object name | Optional, Positional 3 |
Qualifier 1: RJE session description | Name, QRJE | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
RDR | RJE reader identification | *AUTO, RD1, RD2, RD3, RD4, RD5, RD6, RD7, RD8, RD9, RD10, RD11, RD12, RD13, RD14, RD15 | Optional, Positional 4 |
CMD | Command file | *NO, *YES | Optional |
OPTION | Submit RJE job | *QUEUE, *IMMED | Optional |
SNDDLTRCD | Send deleted records | *NO, *YES | Optional |
DTATYP | Data type | *CHAR, *ANY | Optional |
MAXRCDLEN | Maximum record length | 1-255, *FIXED | Optional |
MSGQ | Message queue | Single values: *REQUESTER, *RDRE, *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Message queue | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
RESUBMIT | Resubmit RJE job | *NO, *YES | Optional |
Top |
Specifies the qualified name of the file that contains the input stream being submitted.
The possible values are:
An interactive input stream sends data one record at a time (each time the Enter key is pressed). The .. READFILE control statement embeds the data files and commands in the input stream. The .. EOF control statement is used to end the input stream. No other jobs are submitted to the reader.
The possible library values are:
You cannot override the file parameter by specifying *ALL on the MBR parameter for the OVRDBF command. If you do this:
Top |
Specifies the member being sent to the host subsystem. This parameter applies only if you specified a database file with the FILE parameter.
The possible values are:
Top |
Specifies the qualified name of the session description that sends the input stream to the host.
The possible values are:
The possible library values are:
Top |
Specifies the reader that is associated with the job being submitted.
The possible values are:
Top |
Specifies whether the file specified in the FILE parameter is searched for embedded RJE control statements (for example, .. READFILE or .. EOF).
The possible values are:
Top |
Specifies whether the reader job is sent to a reader job queue or started immediately.
The possible values are:
OPTION(*IMMED) cannot be used with RESUBMIT(*YES).
Top |
Specifies whether blank records are sent to the host subsystem when deleted records are encountered in the database file member.
The possible values are:
When files created through the database join function are submitted, deleted records will only be recognized in the primary part of the logically joined file.
Top |
Specifies whether the file specified in the FILE parameter contains data characters less than hex 40.
The possible values are:
Top |
Specifies the maximum input record length for data sent to a host subsystem. The record length range which is supported depends on the type of host subsystem:
For BSC, only *FIXED is valid.
RJE command files are read as 80-byte records. Command file records read from a file with a data record length greater than 80 bytes are truncated to 80 bytes. Command file records read from a file with a data record length less than 80 bytes are padded to 80 bytes. Command file records are always sent to the host as 80-byte records regardless of the value of the MAXRCDLEN parameter.
The possible values are:
Top |
Specifies the qualified name of the message queue to which messages for the reader are sent.
The possible values are:
If this command is run in a batch job, *REQUESTER is treated as *NONE (inquiry messages cannot be sent to a batch job).
The possible library values are:
Top |
Specifies whether jobs in the queue are resubmitted if they end abnormally.
Note: The job sequence of each reader is preserved unless the jobs were submitted to the *AUTO reader. To use this parameter, a job submitted by CL commands must have a job priority (JOBPTY) of 6, and the user profile that submits reader jobs must have the priority limit (PTYLMT) parameter set from 1 through 5, inclusive. The MAXACT parameter of the reader job queue entries in the RJE subsystem description must be set to 1. A reader job submitted with this parameter can be canceled only from the job queue. Other commands, such as CNLRJERDR OPTION(*IMMED), cause the job to be resubmitted.
The possible values are:
RESUBMIT(*YES) cannot be used with OPTION(*IMMED).
Top |
Top |
*ESCAPE Messages
Top |