For a compliance project, I must run the QUSLOBJ and QCDRCMDI apis as
someone with *ALLOBJ. So, I created by program to use adopted authority,
and made its owner QSECOFR. However, it appeared that the QCDRCMDI api
was returning ?????? for the "created by user" field. This makes me
assume that the API is not running with the adopted authority of the
program calling it. So, is tried using the QSYGETPH and QWTSETP apis to
switch my user profile, however, even running with adopt QSECOFR, the
api's can't change the current profile to QSECOFR because it says it needs
*USE authority to the profile.
I might be able to submit a job as user QSECOFR, but I was hoping to run
this directly, because a Lotus Notes process will be calling it, and if
another job is submitted, the Notes process won't know when the process is
complete.
___________________________________
Darren Strong
Dekko
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.