gtpg2m2uGeneral Macros

HASHC-Calculate Record Slot Number

This general macro is used as an aid in calculating a slot index for any data base that requires, and is designed for, a compression algorithm. When given a unique key from a predefined maximum set of keys, this macro returns a number that can easily be manipulated to yield a slot index in a compressed record space. The macro is independent of any data base, but each data base must be designed for a compression algorithm.

Format




label
A symbolic name can be assigned to the macro statement.

H
A hexadecimal number (4 bit digits).

C
A character representation (0-9, A-Z).

D
A decimal number (packed decimal, 4 bit digits).

Entry Requirements

Return Conditions

Programming Considerations

Examples

None.