Transfers a copy of Database Connection Services (DCS) directory entries to a buffer supplied by the application.
Authorization
None
Required Connection
None
Version
sqlenv.h
C API Syntax
/* File: sqlenv.h */ /* API: Get DCS Directory Entries */ /* ... */ SQL_API_RC SQL_API_FN sqlegdgt ( short * pNumEntries, struct sql_dir_entry * pDCSDirEntries, struct sqlca * pSqlca); /* ... */ |
Generic API Syntax
/* File: sqlenv.h */ /* API: Get DCS Directory Entries */ /* ... */ SQL_API_RC SQL_API_FN sqlggdgt ( struct sqlca * pSqlca, short * pNumEntries, struct sql_dir_entry * pDCSDirEntries); /* ... */ |
API Parameters
REXX API Syntax
GET DCS DIRECTORY ENTRY [USING :value] |
REXX API Parameters
Sample Programs
Usage Notes
sqlegdsc - Open DCS Directory Scan, which returns the entry count, must be called prior to issuing GET DCS DIRECTORY ENTRIES.
If all entries are copied to the caller, the Database Connection Services directory scan is automatically closed, and all resources are released.
If entries remain, subsequent calls to this API should be made, or CLOSE DCS DIRECTORY SCAN should be called, to release system resources.
See Also
sqlegdcl - Close DCS Directory Scan
sqlegdge - Get DCS Directory Entry for Database
sqlegdsc - Open DCS Directory Scan.