after udatingg first 110 rows, my job abends. now how do i
change my cobol program so that when i restart the Job it
will start updating from 111th row ( i.e in next run I
di=ont want to update those 110 rows which are already been
updated in the first run before job abend)
Answer Posted / raj
You can use check point logic in JCL or you can do this in
program using a recovery-restart table.
1)First time when program runs it reads this table. No
records .. proceed..
2)Process 50 records .. store 50th record key in table..
then proceed to process file from 50th record..
3) Say program failed at 65th record..
4)Restart the job..
5)Program first look the restart table.. It has key value
of 50th record..
6)So set pointer to 51st record and start processing.
7)If your system is unrealiable and set commit frequency 5
or 10 records..
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are literals?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is static and dynamic call in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how do you reference the variable unblock file formats from cobol programs
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
What is the difference between binary search and sequential search?
What is amode(24)?
How arrays can be defined in COBOL?
What is the compute verb? How is it used?
What is the use of intialize verb?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why is it necessary that file needs to be opened in I-O mode for REWRITE?