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

Why Cursors were not used with array?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 2481
Location: @my desk

PostPosted: Sat Feb 06, 2010 10:57 am
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: 2146
Location: At my coffee table

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

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

Moderator Emeritus


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

PostPosted: Sat Feb 06, 2010 11:52 am
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
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
Reply with quote

Hello

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

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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL Ascending and descending sort n... COBOL Programming 5
No new posts Positioned Deletes/Updates using curs... DB2 3
No new posts To find an array of words (sys-symbol... JCL & VSAM 9
No new posts How to move values from single dimens... COBOL Programming 1
No new posts array indexing PL/I & Assembler 4
Search our Forums:

Back to Top