ADRE
Purpose
Use the ADRE control statement to define the remote job information for an operation.
Format
Parameters
- ACTION (SETDEFAULT | ADD)
- If you specify SETDEFAULT,
the remaining keyword values that you specify on the ADRE statement
become default values for all ADRE statements that follow. No application
description database is updated. Keywords that you do not specify
are assigned their standard defaults.
If you specify ADD or use it by default, the statement can result in an update of the database.
- RECOMPL (Y | N)
- Specifies if the shadow
job status must be automatically set to complete, if the remote job
does not exist:
- Y
- Sets the operation status to complete.
- N
- Sets the operation status to error.
- REJOBNAME ('remote jobname')
- Specifies the remote job name. It can be up to 40 characters and must be specified between single quotation marks. This parameter is required if the remote job runs on an IBM Workload Scheduler remote engine.
- REJSNAME ('remote adid or jobstream name')
- Specifies the name of the remote application (for
IBM Z Workload Scheduler) or remote job stream
(for IBM Workload Scheduler). It can be up to
16 characters and must be specified between single quotation marks. Note: To identify objects that reside on IBM Workload Scheduler V9.5, they must be located in the root folder (/).
- REJSWS ('remote jobstream workstation')
- Specifies the name of the remote job stream workstation. It can be up to 16 characters and must be specified between single quotation marks. This parameter is required if the remote job runs on an IBM Workload Scheduler remote engine.
- REOPNO (remote operation number)
- Specifies the remote operation number. It must be a number in the range 1-255. This parameter is required if the remote job runs on an IBM Z Workload Scheduler remote engine.
Examples
In the following example, you set the application name and operation number of a remote job that runs on IBM Z Workload Scheduler:
ADOP ...
ADRE ACTION(ADD)
REJSNAME('APPLREMOTE ')
REOPNO( 1)
RECOMPL(N)