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
Write some characteristics of cobol as means of business language.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How do we get current date from system with century in COBOL?
What are the different types of condition in cobol and write their forms.
When is inspect verb is used in cobol?
What is the use of intialize verb?
how to move the records from file to array table. give with code example
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
What is a scope terminator give example?
Differentiate between structured cobol programming and object-oriented cobol programming.
what happens if parmparameter passes zero bytes to the program
explain sorting techniques in cobol program?
Define static linking and dynamic linking.
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
What is the difference between next sentence and continue in cobol programing language?