── RESOURCE ── = ──────────────────────────────────────────────────────► ►─ ( ── TAPE ── = ── <integer constant expression> ── ) ───────────────┤
Explanation
The RESOURCE attribute specifies how many tape units are needed by a task.
Example
The following example assigns values to the RESOURCE attribute:
?BEGIN JOB ATTRBTEST(INTEGER PARAM); RUN (RAJA)OBJECT/WEATHER/FORECAST; RESOURCE = (TAPE = PARAM); ?END JOB.
This resource assignment indicates that the program requires the number of TAPE drives passed to the job in the parameter PARAM. Job parameters, such as PARAM in the previous example, can be used in the RESOURCE assignment because they are constant identifiers rather than variables.
Note: | The integer constant expression must be an integer in the range of 0 to 255 when it is completely evaluated. |