Skip to main content

Is there a way to use a reserved COBOL word as a paragraph name?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Is there a way to use a reserved COBOL word as a paragraph name?

Resolution:

Yes.  Include the reserved word in the REMOVE list.

Use the compiler directive REMOVE"<reserved-word>".  For example, to use a paragraph name using the reserved word "LEFT-JUSTIFY", use the following compiler directive:  REMOVE"LEFT-JUSTIFY", then name the paragraph "LEFT-JUSTIFY" in the source code.

Old KB# 1558