Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The End Reader (ENDRDR) command ends the specified database reader. The reader can be stopped either immediately, without completing the current job being read, or at the end of the current job. If the reader is in a hold state when this command is issued, the reader is stopped immediately.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RDR | Reader | Name | Required, Positional 1 |
OPTION | When to end reader | *CNTRLD, *IMMED | Optional, Positional 2 |
Top |
Specifies the database reader to be ended.
This is a required parameter.
Top |
Specifies when the ended reader should stop processing.
Top |
ENDRDR RDR(DISKETTE)
This command stops the reader DISKETTE as soon as the current job is completely read in and releases that device to the system.
Top |
*ESCAPE Messages
Top |