Skip to main content

Problem:

Compiling a COBOL program that is running on IBM COBOL MVS and the reserved words are not being treated as reserved words by the checker.

Resolution:

When compiling your COBOL program use the directive "MVS".  This will turn-on the IBM COBOL for MVS reserve word list.

The syntax:

>>-.---.-.----.--MVS-------------------><  

     -/- -NO-

Parameters:

None

Properties:

Default: NOMVS(Dialect )

Phase: Syntax check

$SET: Initial

Dependencies:

The MVS directive sets DBSPACE and DBCS"3" immediately.

Old KB# 2074