IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Declare Cursor


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yesgokul

New User


Joined: 20 Aug 2003
Posts: 9

PostPosted: Thu Apr 08, 2004 5:37 pm
Reply with quote

Hi,

Can anyone clarify, why we declare cursors in working-storgae.

Thanks
Gokul
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Mon Apr 12, 2004 9:38 am
Reply with quote

Hello yesgokul,

This topic has been discussed before...
Please search before posting.

ibmmainframes.com/expertforum/viewtopic.php?t=293

Look at the link above for more details.

Hope this helps,

Regards
Mayuresh Tendulkar
Back to top
View user's profile Send private message
KS

New User


Joined: 28 Feb 2006
Posts: 91
Location: Chennai

PostPosted: Mon Mar 20, 2006 3:27 pm
Reply with quote

HI,

As its a declarative statement than an executable st , it can be placed any where , either in the working storage r the procedure division.
BUt strictly before the OPEN.

Thanks,
KS
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts Restart logic by using cursor name in... DB2 1
No new posts Seeking Resolution for SQKCODE -991 o... DB2 2
No new posts Multiple rows within Cursor when Coun... DB2 14
No new posts Dynamic cursor name in Cobol program COBOL Programming 1
Search our Forums:

Back to Top