SORT-MERGE/XL Programmer's Guide (32650-90884)

121
E Data Types
When you sort or merge data with SORT-MERGE/XL, your sorting key is one of many data
types. This appendix explained the format of SORT-MERGE/XL's generic data types and
gives language equivalents of them.
For more information about data types, refer to Data Types Conversion Programmer's
Guide.
In HPSORTINIT or HPMERGEINIT you specify the type of data that is sorted by your keys.
The data type is given in the third element of the
keys
parameter array. For more
information about specifying keys, refer to Chapter 2.
This appendix tells you the language equivalents of SORT-MERGE/XL generic data types.
It covers the following languages:
HP Business BASIC
HP C/XL
HP COBOL II/XL
HP FORTRAN 77/XL
HP Pascal
The following tables show the
keys
parameter value for each SORT-MERGE/XL data type.
For example, 0 is specified in the
keys
parameter array if the key is ASCII or EBCDIC
byte type.