×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Here's a fun one.
On a v5r4 system, a procedure within an RPGLE program PgmC calls QCMDEXC
to do an OVRMSGF followed by some processing then a call to QCMDEXC to
do a DLTOVR of the same message file.
When PgmA calls PgmC, it works fine.
When PgmB calls PgmC, the DLTOVR fails with CPF9841 Override not found
at specified level.
All 3 programs, PgmA, PgmB, and PgmC, are RPGLE programs with
ACTGRP(*CALLER).
At the time of the error, the call stack shows that all 3 programs are
in Activate Group *NEW number 0000000000000016. Stepping through with
debug shows that no other program is called between the OVRMSGF and the
DLTOVR.
The usual recommendation is to put OVRSCOPE(*JOB) on the OVR* command
and LVL(*JOB) on the DLTOVR. However, at v5r4 and v7r3, the OVRMSGF
command does not have the OVRSCOPE parameter.
Another possibility was that something else had deleted the override
prior to the DLTOVR in question. Doing a DSPJOB option 15 to display
overrides when the error occurs shows the override still exists.
Anyone have any ideas?
--
*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
petercdow@xxxxxxxxx <mailto:petercdow@xxxxxxxxx>
pdow@xxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxx> /
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
As an Amazon Associate we earn from qualifying purchases.