|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.
See LRD Return Values.
You cannot use standard parameterization for any arguments in this function.