Production Support

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
Posts: 40
Joined: Tue Sep 18, 2007 1:17 pm

Production Support

Post by rajkumarprajapati » Tue Feb 24, 2009 4:40 pm

After knowing the affending record in input file,which is causing SOC7
How to delete it?( suppose file is very sensitive,we can not touch the file)

User avatar
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai

Post by Natarajan » Tue Feb 24, 2009 4:46 pm

if you are not authroized to edit the file... you should not edit that file.

My suggestion is to change your program to handle invalid records & write invalid
record into expception file and continue with next record. display the exception count at the end of the program.

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