Call the sqlengne API to advance through the node directory and examine information about the node entries. Close the scan by calling the sqlencls API. This removes the copy of the directory from memory.
None
None
sqlenv.h
SQL_API_RC SQL_API_FN
sqlenops (
unsigned short * pHandle,
unsigned short * pNumEntries,
struct sqlca * pSqlca);
SQL_API_RC SQL_API_FN
sqlgnops (
unsigned short * pHandle,
unsigned short * pNumEntries,
struct sqlca * pSqlca);
Storage allocated by this API is freed by calling sqlencls - Close Node Directory Scan.
Multiple node directory scans can be issued against the node directory. However, the results may not be the same. The directory may change between openings.
There can be a maximum of eight node directory scans per process.
OPEN NODE DIRECTORY USING :value