lrd_col_data
Example: lrd_col_data | Retrieval Handling Functions |
Sets a pointer indicating the location of data.
LRDRET lrd_col_data( LRD_CURSOR *mptCursor, unsigned int muiColNum, long mliOffset, LRD_VAR_DESC *mptVarDesc, unsigned long *mpuliFetchedLen, int miDBErrorSeverity);
mptCursor | A pointer to an LRD_CURSOR structure. |
muiColNum | The column number of the requested data (one-based). |
mliOffset | The offset from the beginning of the column data. |
mptVarDesc | A pointer to the descriptor of a variable which contains the fetched data. |
mpuliFetchedLen | A pointer to the variable indicating the length of the fetched data. |
miDBErrorSeverity | The Error Severity Levels of a failure in a database routine. |
The lrd_col_data function sets a pointer to the data of a specific column. This function accesses data without performing a bind operation. Note that to reference data (through pointers) you must cast it to its appropriate type. lrd_col_data only appears in the print.inl file located in the script directory.
When you retrieve data using lrd_col_data, you must convert the character strings into printable data using lrd_to_printable.
For more details refer to the Function Header File lrd.h in the include directory.
Return Values
See LRD Return Values.
Parameterization
You cannot use standard parameterization for any arguments in this function.