If I have a job running in a job queue and I know it is looping and I do 11 from WRKACTJOB to 'Display Call stack, if active', I can see my program that has a 'Statement' that fluctuates.
What I cannot figure out is how to trap this error. It has under 'Procedure' /1447 when it does an .OPEN under 'Statetment' and a /1409 when it does a .CLOSE. I cannot trap this error.
I though that maybe it meant it was line number 1447 when I compiled it and searched for 1447 in my spool file for the program. This is a MOVE statement so that '/ followed by a number' is not the line number.
I need to know what line it keeps going back and forth to. I obviously have a loop. What does the '/1447' mean under 'Procedure' for the 'Display call stack'. I cannot trap the issue. It is very intermittent and I can't figure it out.
October 20, 2010 9:12 PM
October 23, 2010 12:03 AM