|
This seems to be what Rob was suggesting. As near as I can tell, one uses the QsyGetProfileHandle to create the handle and QWTSETP or QsySetToProfileHandle to change the profile handle being used by the job. That just leaves the question of how to switch back to the original profile handle. I haven't found a way to retrieve a profile handle without knowing the password. Donald R. Fisher, III Project Manager RoomStore, Inc. (804) 784-7600 ext. 2124 dfisher@xxxxxxxxxxxxx <clip> Ask your administrator for a single account on the Windows server -- one that has access to the files you need to check for. Create an iSeries profile with the same name and password as the Windows account. When you need to check existence, use the profile handle APIs to swap to that particular iSeries account, then check access, then swap back. This way all access to the Windows server is from that one particular ID. <clip>
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.