Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Reroute Job (RRTJOB) command starts a new routing step for a job in the current subsystem. The rerouting allows changes in the routing data for the job, and calls a different program used with the new routing step. A job can use rerouting in order to run under a different class or in a different storage pool. When this command is used, any objects allocated in the previous routing step are deallocated and any open files are closed. If the objects or files are needed in the new routing step, they must be allocated or opened again.
Notes:
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
RTGDTA | Routing data | Character value, QCMDI, *RQSDTA | Optional, Positional 1 |
RQSDTA | Request data or command | Character value, *NONE, *RTGDTA | Optional, Positional 2 |
Top |
Specifies the routing data used to start the next routing step in the job. The routing data is used to determine the routing entry that identifies the program that the job runs.
Top |
Specifies the request data that is placed as the last entry in this job's message queue. The request data can be a CL command to be run or a string of characters used by another program.
Top |
RRTJOB RTGDTA(INQUIRY)
This command reroutes the job in which the command is issued by starting a new routing step with the routing data INQUIRY. The job remains in the same subsystem.
Top |
Top |