CMPR2

Syntax:

 >>-.---.-.----.--CMPR2---------------------><  
    +-/-+ +-NO-+

Parameters:

None

Properties:

Default: NOCMPR2
Phase: Syntax check
$SET: Initial

Dependencies:

Requires VSC2"3", VSC2"4" or COBOL370 flagging to be selected.

Comments:

A conflicting directives message is issued (with FLAGCD only) if one of the required flagging levels is not selected.

Setting this directive is not the same as setting VSC2"2". It emulates the mainframe behavior quite closely, and also causes different run-time behavior in some cases. If you use the CMPR2 directive on the mainframe with one of the specified compilers, use this directive instead of VSC2"2".

The FLAGMIG directive flags the items that give different run-time behavior.