with Hold cursor in a stored procedure

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
Posts: 3
Joined: Sat Nov 24, 2007 11:21 am

with Hold cursor in a stored procedure

Post by venkatreddy.com » Mon Nov 26, 2007 4:40 pm

can we have with hold cursor in stored procedure? I mean, is it logical to have both with return for and with hold in a single decalration of a cursor in stored procedure?


User avatar
Active Member
Posts: 65
Joined: Tue Mar 27, 2007 8:41 am
Location: Troy, MI USA

Post by DavidatK » Mon Nov 26, 2007 11:23 pm

Check example 4 given in the

DB2 Reference

It specifically addresses your question


Post Reply


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.
Mainframe Interview questions

Other References
Mainframe Tools and others