635 pts.
 Batch job running for long time
If there are millions of records in a database file and a job accessing this Physical file goes into infinite loop. What will be the steps to determine at what point does this occured or at which record?

Software/Hardware used:
OS/400
ASKED: January 28, 2011  4:02 AM
UPDATED: February 2, 2011  6:20 PM

Answer Wiki:
If you job is reading the PF sequentially, you can do a WRKJOB and take option 14. Then do F11 and you will see what relative record it is stuck on. Also do an option 11 to see the call stack. * You can also strdbg on the job and step through what it is doing.
Last Wiki Answer Submitted:  February 2, 2011  6:20 pm  by  CharlieBrowne   32,835 pts.
All Answer Wiki Contributors:  CharlieBrowne   32,835 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _