Re: Disconnect from Oracle in Pro/C
Date: 1998/02/26
Message-ID: <6d4dhm$5ig_at_ar4dec01.ar4.fra.dlh.de>#1/1
Bob.
When I do this. Then the UNIX Session is hanging (sometimes). If I exit the
program only with the exit(1) command, it's works fine (I think).
The small program that I wrote make no updates, only select's. It's my first
Pro*C program
and I'm unsure over the results of my coding.
Can you give me a tip ?
Bob Withers wrote in message ...
>[This followup was posted to comp.databases.oracle.tools and a copy was
>sent to the cited author.]
>
>In article <34CCD0FC.E69B00FA_at_bms.com>, gilbertd_at_bms.com says...
>> Hi,
>>
>> SQL offers a disconnect command to terminate an Oracle connection. This
>> does not seem to work when called from a Pro/C program.
>>
>> Does anyone have any ideas or experience in disconnecting from Oracle in
>> Pro/C?
>
>
>EXEC SQL COMMIT RELEASE;
>
>or
>
>EXEC SQL ROLLBACK RELEASE;
>
>Bob
Received on Thu Feb 26 1998 - 00:00:00 CET