You can use CTMAPI to
For these actions, CTMAPI actually calls the IOACND utility. The syntax is the same as the syntax for the IOACND utility, prefixed with the command word COND or RES.
COND {ADD | DELETE | CHECK} COND cond-name ODATE
RES {ADD | DELETE} CONTROL control-name {EXCLUSIVE | SHARE}
RES ADD RESOURCE res-name quantity
RES DELETE RESOURCE res-name
RES CHANGE RESOURCE res-name [-|+]quantity
For more information on the syntax of the IOACND utility and its characteristics, see the IOACND section in the INCONTROL for z/OS Utilities Guide.
In addition, you can use CTMAPI in batch mode to query quantitative and control resources. For such actions, use the Resource check command:
RES CHECK RESOURCE Res_Name Res_type
Where:
Res_Name
is the name of the quantitative/control resourceRes_type
is the type of resource, one of the following:Q
— QuantitativeC
— ControlA
— All
Parent Topic |