Chris,
The IDMS Default for using a IDMS-DC protocol is to have autostatus in
use.
That's why you are able to use the ON syntax. Try ON ANY-STATUS NEXT
SENTENCE. I'm not sure what continue will do under these circumstances
but next sentence will take you to your IF statement. ANY-STATUS should
return any error status from 0000 through 9999. Just remember there
will be errors generated by IDMS that don't return to the program
because the type of abend. This doesn't sound like your problem.
Another thing to try is DC-Debugger on this program and set a breakpoint
just before or after the offending statement. You can look at anything
in storage you want.
Linda
Linda J. Casey, PMP
Managing Member
Run Right, LLC