Previous Topic: DCMT SecurityNext Topic: Online Debugger Security


OCF/BCF Security

Application Name

When you create an activity name for a utility command, specify an application name of OCF for activities that are to be secured when running under a CV. To secure batch local mode utility activities, specify BCF for an application name. If the same command is to be secured in the same manner in both CV and batch, then two activity resources must be created.

Assigning OCF/BCF Activity Numbers

OCF/BCF security provides the #UTABGEN macro for assigning activity numbers to OCF/BCF utility commands. In the #UTABGEN macro, you associate an activity number with an OCF/BCF command code.

#UTABGEN Example

In this example, #UTABGEN assigns the activity number of 14 to the OCF/BCF commands FORMAT and PRINTPAGE as represented by their command codes:

#UTABGEN (FORMAT,14,PRINTPAGE,14)

Note: For #UTABGEN syntax, OCF/BCF command codes, and information about generating the #UTABGEN module, see Syntax for Assembler Macros.