CLI Access to Geometry Data

Connectivity

CLI Access to Geometry Data

I am writing a C++ application to interact with Teradata ST_GEometry data types usign CLI.

My problem is that I am not sure how to access data returned from a DBHCL call where the dbc.resp_mode is set to 'M' - Multi Record mode

I get a number of parcels in response to the fetch including PclXDIX and PclSMR. Can anyone tell me how to parse the response data in the dbc.fet_data_ptr for each of these response parcels.

I have tried to overlay a PclXDIXType structure on the PclXDIX parcel but the mapped data is not right. I have no idea which structure would be appropriate for the PclSMR parcel

Thanks Andy

Tags (1)