Previous Topic Next topic Print topic


MAKESYN

Makes one reserved word synonymous with another.

Syntax:

>>-.---.-MAKESYN-"rsv-word-1" = "rsv-word-2"---><
   +-/-+

Parameters:

rsv-word-1
A reserved word.
rsv-word-2
The reserved word whose meaning is to be changed.

Properties:

Default: No reserved word synonyms are created.
Phase: Syntax check
$SET: Initial

Comments:

The equals sign must be surrounded by spaces.

You can also leave a space between the directive and its option to improve readability (applies to UNIX environments only). If you are specifying this directive to the -C option of the Cob command line, you need to ensure that all characters are escaped correctly for the UNIX shell. For example, to specify MAKESYN on the command line:
cob demo.cbl -C 'makesyn  comp-5  ==  comp  '

This directive does not appear in the list created with the SETTING directive.

Previous Topic Next topic Print topic