Range table example

Many nonstandard uses of ACEEIEP are possible. This example illustrates how to convert one possible nonstandard use into a range table.

Suppose you wish to compress an ACEE that is configured as follows:
Figure Showing an ACEE
where:
  • NAMEPTR, SSNPTR, and INFOPTR are pointers to the actual data.
  • NAME and NAMELEN are the full name and length of name of a person.
  • SSN is a 9-character Social Security number.
  • INFO and INFOLEN are miscellaneous data and the length of this data.
At compression time, the information pointed to by ACEEIEP must be converted into the following range table:
00000003                    * Range count
000000FF                    * Subpool

NAMEPTR+1                   * Pointer to start of first range
NAMEPTR+NAMELEN             * Pointer to end of first range

SSNPTR                      * Pointer to start of second range
SSNPTR+9                    * Pointer to end of second range

INFOPTR+1                   * Pointer to start of third range
INFOPTR+INFOLEN             * Pointer to end of third range