Werner Noll wrote:
> we need in an application program to rename streamfiles in the IFS, where
> the owner is not the current user.
> For renaming we decided the API "Qp0lRenameKeep". But this API  (as well as
> other rename procedures) does not  support "adopted authority". Therefore
> only the file owner can rename the file.
> Is there a work arround or any other suggestion to solve this problem.
> Many thanks in advance.

You need to use the profile handle switching API's QSYGETPH & QWTSETP to
switch to the user who has authority (and, obviously, switch back to the
original user).

david

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.