Mnemonic-name must be defined in the Special-Names paragraph. See the topic The Special-Names Paragraph in the chapter Environment Division for details of how to do this and your COBOL system documentation on interfacing for details of which calling conventions are supported in your run time environment.
, File Section or Working-Storage Section
. A particular user-defined word must not appear more than once as data-name-1.
It may appear more than once.
The data description entry for data-name-1 must not contain a REDEFINES clause.
It may contain a REDEFINES clause.
Data-name-1 may, however, be the object of a REDEFINES clause elsewhere in the Linkage Section.
, File Section or Working-Storage Section , unless the source unit is a method definition or method prototype definition
. Data-name-2 must be defined as a data item of class numeric, object or pointer.
For JVM and .NET COBOL, data-name-2 can be any class and must be no greater than 8 bytes. For native COBOL, data-name-2 can
be of any class except comp-1 and comp-2. The length must be no greater than 4 bytes for 32-bit compilation, and no greater
than 8 bytes for 64-bit compilation.