subject: Failure to adopt authority
I have to be overlooking something and I'm hoping one of you will see it.
I have an SQLRPGLE program named SCRTEST. It is owned by QSECOFR and is
In the program it needs to execute the below MOV command which is built on
the fly. FYI - I'm using MOV because I can rename the file and move it to
different library at the same time.
I have tried calls using both system() and QCMDEXC().
If I run the program with the QSECOFR profile, both versions work. If I
it with a *USER profile, both versions fail.
What am I missing? Do system() and QCMDEXC() not pass the adopted
to the command that they call? If not, is there a different command that
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.