Re: CPY Failing in CGI Program
Mark Waterbury <[email protected]> Mon, 6 Feb 2023 15:45:09 +0000 (UTC)
| Newsgroups | gmane.comp.systems.as400.web |
|---|---|
| Message-ID | <[email protected]> |
Rich, The IFS APIs and commands ignore "adopted authority." Sign-on or run the job as QSECOFR or another profile with *ALLOBJ and it will work. Or, use the "profile handle" APIs (QSYGETPH, QWTSETP and QSYRLSPH) to temporarily change the job to run as the owner of the IFS objects, or one with *ALLOBJ, do the copy, then swap back to your original user profile. HTH, Mark S. Waterbury -- This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/web400 or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/web400.