Collate Alternate: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
(Created page with "The '''Collate Alternate''' BRConfig.sys file's COLLATE ALTERNATE specification allows a parameter, "filename", to be specified. When this syntax is used, Business Rules! ...")
 
No edit summary
 
Line 1: Line 1:
The '''Collate Alternate''' [[BRConfig.sys]] file's COLLATE ALTERNATE specification allows a parameter, "filename", to be specified. When this syntax is used, Business Rules! will use the character sequence in the specified file as the alternate collating sequence. The specified sequence must be 255 characters. This collating sequence will be used whenever OPTION COLLATE ALTERNATE is specified in programs or when A (for alternate collating sequence) is specified with the sort control file's FILE specification.
The '''Collate Alternate''' [[BRConfig.sys]] file's COLLATE ALTERNATE specification allows for string comparisons to be done in ascii while treating numbers as though they followed alphabet characters in the collating sequence. This revised collating sequence will be used whenever OPTION COLLATE ALTERNATE is specified in programs or when A (for alternate collating sequence) is specified with the sort control file's FILE specification.


CONFIG COLLATE ALTERNATE filename has been removed with version [[4.16]]
An optional filename has been removed from CONFIG COLLATE ALTERNATE with version [[4.16]] Instead the default ALTERNATE table is used which simply moves the digits 0 - 9 above the alphabet ( starting in position 176 or x'B0' ). This rather crude translation is sufficient for most program logic that depended upon the EBCDIC character set. The data in the BR programs is processed in ascii with the exception of the relocated digits.


====See Also====
====See Also====

Latest revision as of 15:53, 28 July 2018

The Collate Alternate BRConfig.sys file's COLLATE ALTERNATE specification allows for string comparisons to be done in ascii while treating numbers as though they followed alphabet characters in the collating sequence. This revised collating sequence will be used whenever OPTION COLLATE ALTERNATE is specified in programs or when A (for alternate collating sequence) is specified with the sort control file's FILE specification.

An optional filename has been removed from CONFIG COLLATE ALTERNATE with version 4.16 Instead the default ALTERNATE table is used which simply moves the digits 0 - 9 above the alphabet ( starting in position 176 or x'B0' ). This rather crude translation is sufficient for most program logic that depended upon the EBCDIC character set. The data in the BR programs is processed in ascii with the exception of the relocated digits.

See Also