|
I have an SQLRPGLE program (call it ABC) that is owned by QSECOFR and the
user profile is set to *OWNER.
I have a service program that has an ExecuteCmd function that does an SQL
"call qsys2.qcmdexc(.)" to execute whatever command is passed to it. The
commands are soft coded in a file so I do not know ahead of time what they
will be.
Program ABC has this service program bound (probably not the right word)
into it. However, from an error that I am seeing from the ExecuteCmd
function, it looks like qcmdexc does not adopt the authority of ABC.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.