3.1.10.4 Parameters and Options

ARTJESCOBOLDB2MF supports the following parameters and options:

-m cobol_mode
Specifies user COBOL program invocation/cancel method (Micro Focus COBOL only). Environment variable "JES_COBOL_MODE" can also be used to control it. The following table lists its variable values; the default value is MF_SUBSYS. If both ARTJESCOBOLDB2MF -m option method and JES_COBOL_MODE method are used, ARTJESCOBOLDB2MF -m option takes precedence.

Table 3-7 JES_COBOL_MODE Variable Values

Value Description
MF_SUBSYS Use SUBSYSTEM method.
MF_COBFUNC Use COBFUNC method.
MF_DEFAULT_CANCEL Use cobcall with default CANCEL behavior.
MF_PHYSICAL_CANCEL Use cobcall with physical CANCEL behavior.
MF_LOGICAL_CANCEL_STANDARD Use cobcall with logical CANCEL behavior. Physically cancel .dll code and shared object code as part of a logical cancel operation.
MF_LOGICAL_CANCEL_SPECIAL Use cobcall with logical CANCEL. Do not physically cancel .dll code and shared object code as part of a logical cancel operation.
MF_NOCANCEL Use cobcall without CANCEL behavior.