Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Declare Cursor
Johan,
yep ... Cobol is a bitch ... isn't it ???
I recommend to store the cursor in a package and reference it from there
Regards
Dante
In article <374C2FC7.79590798_at_hccnet.nl>,
Johan den Boer <jj.den.boer_at_hccnet.nl> wrote:
> Hi,
>
> I am using oracle and cobol. In my cobol program I declare
> a cursor like this
>
> Program A;
>
> Exec Sql
> declare my_curs cursor
> for select from my_tabel
> End Sql.
>
> Somewhere in my program I want to call another program
> like this
> call "progb"
>
> In program B I want to make use of the cursor
> which is declared in program A. So how do I
> pass the information about the open cursor
> from program A to program B
>
> Thanks a lot
>
> email jj.den.boer_at_hccnet.nl
>
>
--== Sent via Deja.com http://www.deja.com/ ==-- ---Share what you know. Learn what you don't.--- Received on Thu May 27 1999 - 04:33:58 CDT
![]() |
![]() |