My RPGLE pgm1 has following command -
OVRDBF FILE(File1) TOFILE(lib/File1) SECURE(*YES) OVRSCOPE(*CALLLVL) SHARE(*NO)
There are 7-8 programs called after this. The last SQLRPGLE program has below statements -
OVRDBF FILE(File1) TOFILE(lib/File1) // Second override of the same lib/file
....
....
....
....
DLTOVR FILE1
This particular DLTOVR statement fails with the message "override not found at specified level".
I checked google and find that multiple overrides could cause the DLTOVR to fail with this message, unless an override is defined with *JOB level. I can handle this DLTOVR within monitor block to avoid program crash. However, is there any other alternative to fix this up?
OVRDBF FILE(File1) TOFILE(lib/File1) SECURE(*YES) OVRSCOPE(*CALLLVL) SHARE(*NO)
There are 7-8 programs called after this. The last SQLRPGLE program has below statements -
OVRDBF FILE(File1) TOFILE(lib/File1) // Second override of the same lib/file
....
....
....
....
DLTOVR FILE1
This particular DLTOVR statement fails with the message "override not found at specified level".
I checked google and find that multiple overrides could cause the DLTOVR to fail with this message, unless an override is defined with *JOB level. I can handle this DLTOVR within monitor block to avoid program crash. However, is there any other alternative to fix this up?
Comment