Definitions of JAL
Properties are defined to correspond to each of the conditions that AACS wishes to use to manage the batch workload so that later JAL can handle them. The Descriptors needed for these resources are numeric, and illustrate the range definition method.
$SPACET SPACE_OK,600,LOTS_OF_SPACE,1000,TOO_MUCH_SPACE
$UNIT_CART_ALL NO_CART_UNITS,1,CART_UNITS,13,CART_ERROR
$VOL_CART_ALL NO_VOLS,1,NEEDS_VOLS
Next, Descriptors are used to determine whether it is a production job, and what kind of service is requested. At Acme Anvils, production jobs have accounts in the range P8000 to P8999. These are character descriptors, so EVALUATE statements are used to define corresponding Properties:
EVALUATE RUSH_JOB ($INCLASS(B))
JAL statements that define error and information messages are included next.
MSGDEF CART_ERR_MSG ('CANNOT PROVIDE ',$UNIT_CART_ALL,' TAPE DRIVES')
This concludes the definitions. The next section specifies what actions to take, based on the results of testing the Properties defined above.