D_KEYREAD

SUMMARY
d_keyread(value)
char *value;

ARGUMENTS
value Pointer to area where the value of the elast scanned key will be
coppied.


DESCRIPTION
This function reads the value of the last key found by a key retrieval
function.It is intended to provide a mechanism whereby a key's value can
be checked without having reads its associated records.


CURRENCY CHANGES
None.

RETURN CODES

4 S_KEYSEQ Call to d_keyread before a key retrieval function
was called.


EXAMPLE

char id[16];
.......
/* display all databse related info records
(those for which the id_code begins with "db") */

d_keyfind (ID_CODE,"db"); /* position to start of "db"s */

while (d_keynext(ID_CODE)==S_OKAY)
{
d_keyread(id);
if (strncmp(id,"db",2) break /* no more "db" s */
d_recread(&irec);
.... /* print info record contents */

}