DB2 Failure - CURSOR

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: 20
Joined: Thu Aug 28, 2008 10:41 am

DB2 Failure - CURSOR

Post by biswaranjan » Mon Aug 24, 2009 3:31 pm


There is a DB2 program. Which performs commit after 1000 Records are processed.
Suppose the JCL is submitted for running this DB2 Program for consider 2500 records. In between processing it fails at 2200th record.
How will you Rollback the last 200 records or how will you restart the processing with changes in JCL so that it requires minimum reprocessing of the records that are not committed.


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