with out cursors how can select more than one rows

Ask question on - DataBase Concepts, IBM Mainframe DB2, DB2/UDB, DB2 Tools, SQL , DB2 programming with languages like COBOL, PL1.

Moderators: Kalicharan, Moderator Group

Post Reply
mvasumf845
Member
Posts: 6
Joined: Tue Jan 11, 2011 5:40 pm

with out cursors how can select more than one rows

Post by mvasumf845 » Fri Feb 25, 2011 1:06 am

Hi,
can any body answer my question
How can we select more than one row without using cursors

Thanks in advance
M.vasu
how to copy from two files into another file in uniquely using cobol program

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

Post by dbzTHEdinosauer » Fri Feb 25, 2011 2:13 pm

with imbedded SQL, you can't.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

mvasumf845
Member
Posts: 6
Joined: Tue Jan 11, 2011 5:40 pm

Post by mvasumf845 » Fri Feb 25, 2011 2:31 pm

Thanks dick brenholtz
can i use store procedure for executing more than one record
if yes ,please give one example for that
how to copy from two files into another file in uniquely using cobol program

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