RESOURCE

Purpose

The RESOURCE statement identifies special resources that reports are required for. You can specify more than one RESOURCE statement. RESOURCE statements are used when a daily planning job requests special resource reporting. A special resource is included in a report if it exists and if its name matches a value on a RESOURCE statement. If you do not specify RESOURCE, no reports are produced.

You specify RESOURCE statements in the member of the parameter library that contains the BATCHOPT statement.

Format


1  RESOURCE  FILTER (
2.1+ ,
2.1 special resource name
1 )

Parameters

FILTER(special resource name,...,special resource name)
FILTER values identify special resources that HCL Workload Automation for Z includes when planned or actual resource-utilization reports are requested by a daily planning job. Each value is compared with special resources known at planning time. If a special resource name matches a filter value, it is reported on. A special resource is selected only once if it matches more than one filter value, even if the values are on different RESOURCE statements. Each value is 1–44 characters and must not contain embedded blanks.

You can specify asterisk (*) and percent (%) anywhere in a value. An asterisk matches any character and any number of characters. A percent sign matches any 1 character.

 RESOURCE FILTER(TAPE*,34%%)  1
 RESOURCE FILTER(*80)         2 
In this example of RESOURCE statements, reports are generated for special resources whose names contain:
1
TAPE as the first 4 characters followed by any number of characters, and 34 as the first 2 characters followed by 2 more characters.
2
80 as the last or only characters.