Previous Topic: JOB LEVEL SelectorNext Topic: PROGRAM/DDNAME Combined Selector


PROGRAM LEVEL Selector

The PROGRAM level selector allows you to target specific or generic programs. Generic program names are specified the same way as generic clusters. The following example selects program A225772, no matter which JOB is executing that program, or which clusters the program accesses.

PROGRAM=A225772

(constraints for program A225772)

Both the program name on the EXEC JCL card and the program name on the current CDE are matched against the PROGRAM constraints. CA Hyper-Buf can then apply constraints to programs that are invoked by the job step (EXEC card) and programs that are invoked later using LINK, ATTACH, or XCTL. You can invoke different constraints for a SORT that is LINKed. This allows SORT to have different constraints from the rest of the job step.

The matching EXEC constraints are merged with the CDE constraints by CA Hyper-Buf. Any constraints that are specified on the matching CDE program name overrides the corresponding constraints for the EXEC program, if any.

This feature does not allow CA Hyper-Buf to detect a program that has been loaded, then called. LOADed programs leave no trace of when they are entered or exited, so CA Hyper-Buf cannot determine which routine is actually in control at the time of the OPEN or CLOSE. In this case, the LOADed/CALLed program has exactly the same constraints as the caller.