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
 

 

Why Cursors were not used with array?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
meenakshi_forum
Warnings : 1

Active User


Joined: 27 May 2008
Posts: 121
Location: India

PostPosted: Sat Feb 06, 2010 10:56 am    Post subject: Why Cursors were not used with array?
Reply with quote

Hello,

Why Cursors were not used with array but were introduced in DB2 tables.

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

Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2177
Location: @my desk

PostPosted: Sat Feb 06, 2010 10:57 am    Post subject:
Reply with quote

Hello,

Cursor and Array!.. Can you explain your question a bit further.?

In a COBOL-DB2 program Row-by-row processing from a SELECT requires a cursor to be DECLAREd, but for an array, why do you need a cursor? icon_eek.gif
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Sat Feb 06, 2010 11:01 am    Post subject:
Reply with quote

Duh!
Cursors are a DB philosophy!
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Feb 06, 2010 11:52 am    Post subject:
Reply with quote

Hello,

Quote:
Why Cursors were not used with array but were introduced in DB2 tables.
Please clarify. Keep in mind that while your question is completelyclear to hyou, it may not be to others who read it.

@CG
Or that little flashy bit on the terminal screen. . . That place where one can begin typing. . .
Back to top
View user's profile Send private message
Chirantan Banerjee

New User


Joined: 08 Oct 2009
Posts: 12
Location: Kolkata, India

PostPosted: Thu Feb 11, 2010 3:09 pm    Post subject:
Reply with quote

[quote="dick scherrer"]
Quote:
that little flashy bit on the terminal screen. . . That place where one can begin typing. . .


That's a good definition for a cursor ..... I will try this one out in my next job interview icon_biggrin.gif
Back to top
View user's profile Send private message
Mazahar

New User


Joined: 11 Dec 2007
Posts: 82
Location: hyderabad

PostPosted: Thu Feb 11, 2010 6:49 pm    Post subject:
Reply with quote

Hello

Cursors can be used with arrays check the link for the detailed explanation

http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.db29.doc.apsg/db2z_typecursor.htm
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unstring list of values into an array. Roshnii COBOL Programming 8 Mon Jun 27, 2016 6:25 pm
No new posts COBOL Program to Read Array data raj4neo COBOL Programming 8 Sat Aug 15, 2015 12:28 am
No new posts Checking for High-Values in an array amitc23 COBOL Programming 10 Wed Aug 05, 2015 4:09 pm
No new posts How to define and use Double dimensio... pkmurali DB2 3 Mon Jun 22, 2015 8:36 am
This topic is locked: you cannot edit posts or make replies. How to Compare two values in an inter... ritnihi COBOL Programming 6 Wed Jun 10, 2015 11:49 am


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