Could someone explain me the program/job restart logic for a COBOL program doing some file operations?
Note: This is not COBOL-DB2 restart logic. It's COBOL restart logic which does not involve DB2. Say for ex: a COBOL program reading input file, dropping few records, writing records to 2 output files based on some condition. If input file has 1 million records, if job fails just before last record, it's waste of MIPS. How to handle this in COBOL?
I was asked this question in an interview.
[ Post made via Android ]
