Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Declare Cursor

Re: Declare Cursor

From: Dante <dnotari_at_my-deja.com>
Date: Thu, 27 May 1999 09:33:58 GMT
Message-ID: <7ij3i6$bd9$1@nnrp1.deja.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US