View previous topic :: View next topic
|
Author |
Message |
praveenhu
New User
Joined: 23 Jun 2006 Posts: 5
|
|
|
|
Hi friends,
The problem goes like this; we have an job that processes thousands of records and inserts into db2 table; but if the file contains any invalid entry then the job gets abended; and the entire processing is written into log file. So when the job abends if we go to the end of the log file we can get the entry where the job abended. The file is so long that if we press m+F8 to go to the end of file it takes long time. So is there any way to go the end of file and get the last enrty made within short span time...
Please help me out...
Thanks,
Regards,
PRAVEEN |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
hi,
in the program itself keep a count of the record when ever the program is run, then u'll know which at which record it was abended.
Then using file aid u can get the record easily and can do further analysis. |
|
Back to top |
|
|
Hanfur
Active User
Joined: 21 Jun 2006 Posts: 104
|
|
|
|
Praveen,
These kind of progs are best candidates for implementing the RESTART-COMMIT logic..Some days back I have posted a doc on this.Check it..
QUOTE:So is there any way to go the end of file and get the last enrty made within short span time...
Please help me out...
what you mean by this ?
-Han. |
|
Back to top |
|
|
|