Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
cursor declaration

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
prasadrachuri

New User


Joined: 19 Aug 2003
Posts: 20
Location: kolkata

PostPosted: Wed Aug 27, 2003 10:13 am    Post subject: cursor declaration
Reply with quote

Hi,
I have a small doubt regarding declaration of cursor.

1. Can one declare cursor in procedure division icon_question.gif
2. If one can declare a cursor in procedure division then does it differ from one which is declared in working storage icon_question.gif ...if differs how icon_question.gif

Thanks in advance..
Prasad Rachuri...
Back to top
View user's profile Send private message
References
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 257
Location: USA

PostPosted: Wed Aug 27, 2003 2:28 pm    Post subject:
Reply with quote

Hello prasad,

1) YES....


2) NO, ideally it should not differ.
But not sure on this.


Hope this helps you...

Regards

Mayuresh
Back to top
View user's profile Send private message
prasadrachuri

New User


Joined: 19 Aug 2003
Posts: 20
Location: kolkata

PostPosted: Wed Aug 27, 2003 2:55 pm    Post subject:
Reply with quote

Hi Mayuresh,
Nice to see you in the picture once again...

if both doesn't differ in action then why IBM given possiblity of declaring cursor in both the places... icon_wink.gif

Thanks in advance..
Prasad Rachuri...
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 257
Location: USA

PostPosted: Thu Aug 28, 2003 9:08 pm    Post subject:
Reply with quote

Hello,

Check these links for more informatio on this issue.


http://h71000.www7.hp.com/doc/721FINAL/6607/6607pro_022.html


http://dbforums.com/arch/91/2002/7/435397


The cursor declaration is same as that of what we declare in the Working storage section.

There may be some reasons why IBM has provided this. Need to do some R&D for this.

Hope this helps you.

icon_lol.gif

Regards

Mayuresh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1