Database Vuser Functions (LRD) > Alphabetical List of Functions > lrd_print

lrd_print

Example: lrd_print Retrieval Handling Functions

Prints rows fetched by autofetch operation. (ODBC and DB2CLI)

LRDRET lrd_print( LRD_CURSOR *mptCursor mptCursor, LRD_PRINT_ROW_TYPEDEF mpfjPrintRow );

mptCursor A pointer to an LRD_CURSOR structure.
mpfjPrintRow A pointer to a function that prints each fetched row.

In an autofetch, the data is fetched by the exec command, so the combined fetch and print of lrd_fetch is not applicable. lrd_print uses the function pointed to bympfjPrintRow to print the rows.

Return Values

See LRD Return Values.

Parameterization

You cannot use standard parameterization for any arguments in this function.