Share this page

# 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.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: