Regarding Cursor

db2 sql interview questions

Moderator: Moderator Group

Post Reply
nrajini
Member
Posts: 23
Joined: Sun Oct 05, 2008 4:35 pm

Regarding Cursor

Post by nrajini » Mon Mar 08, 2010 3:52 pm

In COBOL-DB2 program without using cursor can we go for any other logic which is more efficient ?
Regards,
Rajini

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Mar 10, 2010 1:06 pm

That depends on what you want to do....
Regards,
Anuj

fredrick andrews
Member
Posts: 15
Joined: Thu Feb 23, 2012 6:55 am

Post by fredrick andrews » Thu Feb 23, 2012 8:27 am

A Cobol-DB2 program can be written without using cursors.
However, using cursors you can do some advances things which might not be possible/ easily possible without using cursors.

Thanks

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Thu Feb 23, 2012 9:26 am

Fredrick Andrews,

i realize that you are trying to increase your post count,
but try to pick on questions that are not 2 years old
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

fredrick andrews
Member
Posts: 15
Joined: Thu Feb 23, 2012 6:55 am

Post by fredrick andrews » Thu Feb 23, 2012 4:24 pm

dbzTHEdinosauer wrote:Fredrick Andrews,

i realize that you are trying to increase your post count,
but try to pick on questions that are not 2 years old
Guilty as charged... :?
Hey, but I'm only replying in threads where I have some idea about... Not in every new thread created...

Thanks!

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others