Hi SPDJM,
If what you need is a restart functionality, then there are cleaner/proven ways to do this.
The best way is to implement "transactions". This is the equivalent of many database's BEGIN/COMMIT/ABORT TRANSACTION.
After processing each transaction, you will update a 'control file' with the latest relevant buffers, before committing the transaction.
In the event your program abends for any reason, your transactions will be protected/complete, and each time the program is executed, your restart logic will consist of reading the information in the 'control file' in order to obtain the latest processing status.
Without implementing the above, you are left with 2 options I can think of:
1. Learn to read abend dumps and suffer occasional headaches when trying to restart the program.
2. Write sophisticated 'unconventional' code and spend the next few years debugging it.
Dimandja