|
> From: Joe Pluta (clarifying) > > 1. Get a handle to the current profile and save it This is a call to QSYGETPH using a USERID parm of *CURRENT > 2. Get a handle to the desired profile This is a call to QSYGETPH using the desired USERID. You can either specify a password or use *NOPWD if the current user profile has *USE authority to the desired profile. > 3. Switch to the desired profile Using QWTSETP with the handle of the desired user profile > 4. Do work > 5. Switch back to the current profile Using QWTSETP with the "current" profile handle > 6. Release both handles This is a call to QSYRLSPH Joe
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.