Hello Gary,
You can have a look at the sample program CEX12 under 'sampledb.sys'.
The option 2 in this sample program specifically relates to the SELECT
statement that you are interested in.
Shivanand H.
"Gary L. Biggs" <[log in to unmask]> wrote:
>To this point, all of my SQL work has been based on C/S via ODBC
>and COBOL. Does anyone have a simple C program that connects
>to a DBE, executes a select statement to return a result
>and closes the DBE that they would be willing to share with me as a prototype?
>
>
>Gary L. Biggs, N5TTO
>[log in to unmask]
>Interex SIG Allbase Chair
>
>"Abandon all hope, Ye who Inter(net) here" --
>Dante, over the portal(router) to Hell
>