Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
View previous topic :: :: View next topic  
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

mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 238
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: 238
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.


Code:
[url]http://h71000.www7.hp.com/doc/721FINAL/6607/6607pro_022.html[/url]


[url]http://dbforums.com/arch/91/2002/7/435397[/url]



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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm
No new posts Updating Cursor row withour using FOR... chandan.inst DB2 15 Tue Nov 08, 2016 11:17 am
No new posts Variable for cursor names ravikumar15 DB2 5 Sun Jul 17, 2016 7:08 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us