Hold Reader (HLDRDR)

The Hold Reader (HLDRDR) command immediately stops the activity of the specified spooling reader. The reader itself is not ended, nor is its associated input device made available to the system. The reader remains inactive until a Release Reader (RLSRDR) or End Reader (ENDRDR) command is issued. Data is not lost when the reader is held.

Parameters

Keyword Description Choices Notes
RDR Reader Name Required, Positional 1

Reader (RDR)

Specifies the spooling reader to be held.

This is a required parameter.

name
Specify the name of the reader to be held.

Examples

HLDRDR   RDR(QDKT)

This command causes the diskette reader QDKT to immediately stop reading data. To release the reader, so that it can continue to read data, a Release Reader (RLSRDR) command must be entered. If the End Reader (ENDRDR) command is used, the reader is stopped and the job that was being read in is lost because no job entry was added to the job queue.

Error messages

*ESCAPE Messages

CPF1E52
Not authorized to hold job &1.
CPF1E53
Job &1 has ended and cannot be held.
CPF1E54
Job &1 cannot be held.
CPF1317
No response from subsystem for job &3/&2/&1.
CPF1340
Job control function not performed.
CPF1345
Cannot hold job &3/&2/&1.
CPF1347
Cannot hold job &3/&2/&1.
CPF1350
SPLFILE(*NO) specified but job &3/&2/&1 on OUTQ.
CPF1351
Function check occurred in subsystem for job &3/&2/&1.
CPF1352
Function not done. &3/&2/&1 in transition condition.
CPF1378
Job &3/&2/&1 not held at current time.
CPF3312
Reader &1 neither active nor on job queue.
CPF3330
Necessary resource not available.
CPF3333
Reader &3/&2/&1 already held.
CPF3490
Not authorized to specified reader.