Skip to main content

How can I have reserved words used by IBM COBOL MVS treated as reserved words?

  • February 15, 2013
  • 0 replies
  • 0 views

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