DB2 Version 9.7 for Linux, UNIX, and Windows

sqlugrpn API has been deprecated

The sqlugrpn API, which retrieves the distribution map offset and database partition numbers for a row, has been deprecated and might be removed in a future release.

Details

The sqlugrpn API is designed to work with distribution maps containing up to 4096 (4 KB) entries.

In Version 9.7, the distribution map size has been expanded to 32 768 (32 KB) entries. The sqlugrpn API cannot be used in conjunction with these larger distribution maps. For information about enabling larger maps, see the "Distribution maps" topic.

User response

Use the new db2GetRowPartNum API, which supports all distribution map sizes.