Hi,
I want sure where to post this so hope this the right place.
We upgraded our iSeries OS last weekend to V7R3M0
For some reason, one our over night batch programs fails with the said error but I can't find out for the life of me what's going on. Something has obviously changed during the upgrade but it's only effecting this one program.
I have tried recompiling all the objects involved but I still get the same error.
However, if i remove the OPNQRY command before the TC0130 it no longer fails.. not that that is a solution though.. the OPNQRY command needs to remain but something is wrong here..
Here's the code:
This is legacy software that's been in place for years.. so any help would be appreciated.
Thank you looking
I want sure where to post this so hope this the right place.
We upgraded our iSeries OS last weekend to V7R3M0
For some reason, one our over night batch programs fails with the said error but I can't find out for the life of me what's going on. Something has obviously changed during the upgrade but it's only effecting this one program.
I have tried recompiling all the objects involved but I still get the same error.
However, if i remove the OPNQRY command before the TC0130 it no longer fails.. not that that is a solution though.. the OPNQRY command needs to remain but something is wrong here..
Here's the code:
Code:
OVRDBF FILE(CLOANC) TOFILE(CLOAN) SHARE(*NO) CALL PGM(TC0130E) IF COND(%SWITCH(XXXXXXX0)) THEN(DO) OVRDBF FILE(FC0130L1) SHARE(*YES) OPNQRYF FILE((FC0130L1)) QRYSLT('PTYP *NE 70') + KEYFLD(*FILE) CALL PGM(TC0130) CLOF OPNID(FC0130L1) ENDDO
This is legacy software that's been in place for years.. so any help would be appreciated.
Thank you looking
Comment