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


SORT-FILE-SIZE

The SORT-FILE-SIZE special register is the name of a binary data item that you can use to specify the estimated number of records in the sort input file, file-name-1. It has the implicit definition:

01  SORT-FILE-SIZE GLOBAL PICTURE S9(8) USAGE BINARY VALUE ZERO.

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

References to the SORT-FILE-SIZE 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.

You can specify the SORT-FILE-SIZE special register in a function wherever an integer argument is allowed.


Terms of use | Feedback

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