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
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 difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How do get the result of your program directly on your pc?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Write a program that uses move corresponding.
how to convert the recors form vsam file to db2 table tru file aid
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Can a Search can be done on a table with or without Index?
what is difference between cobol and cobol/400
How do define dynamic array in cobol.
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What are the pertinent COBOL
Write some characteristics of cobol as means of business language.
What are the different rules of SORT operation?