Rational Developer for System z
COBOL for Windows, Version 7.5, Language Reference


SORT-MESSAGE

The SORT-MESSAGE special register is the name of an alphanumeric data item that is available to both sort and merge programs.

References to the SORT-MESSAGE special register are resolved by the compiler; however, the value in the special register has no effect on the execution of a SORT or MERGE statement.

The SORT-MESSAGE special register has the implicit definition:

01  SORT-MESSAGE GLOBAL PICTURE X(8) USAGE DISPLAY VALUE “SYSOUT”.

When used in nested programs, this special register is implicitly defined with the global attribute in the outermost program.

You can specify the SORT-MESSAGE special register in a function wherever an alphanumeric argument is allowed.


Terms of use | Feedback

Copyright IBM Corporation 1996, 2008.
This information center is powered by Eclipse technology. (http://www.eclipse.org)