× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Why is it so much better to create a user profile with all the authorities 
of QSECOFR, and have the program owned by that user profile than just to 
have it owned by QSECOFR?

Rob Berendt
-- 
"They that can give up essential liberty to obtain a little temporary 
safety deserve neither liberty nor safety." 
Benjamin Franklin 




qsrvbas@xxxxxxxxxxxx (Tom Liotta)
Sent by: midrange-l-bounces@xxxxxxxxxxxx
03/21/2003 06:25 PM
Please respond to Midrange Systems Technical Discussion
 
        To:     midrange-l@xxxxxxxxxxxx
        cc: 
        Fax to: 
        Subject:        RE: Problems with adopting authority


Rob:

I'd try it this way...

1. Leave owner as QSECOFR (or better, a *SECOFR but not QSECOFR).
2. Leave program as usrprf( *OWNER ).
3. Early in the program, switch to an authorized profile that can execute 
user profile changes.
4. Call QCAPCMD (or whatever) to do the work.
5. Then immediately switch back to whatever user was running the job 
(possibly QTCP).

This way, usrprf(*OWNER) has authority to switch both ways and the 
switched-to profile has authority to do the work without requiring adopted 
authority.

You should only need to create the one switched-to profile unless you also 
choose to create the alternative *SECOFR profile (a very good idea, 
avoiding QSECOFR).

Tom Liotta

midrange-l-request@xxxxxxxxxxxx wrote:

>   9. Re: Problems with adopting authority.
>
>IBM responded to my pmr.  Working as designed.  You cannot access a user 
>profile with adopted authority.  Via QCAPCMD, CL program or anything.
>
>Suggestion:  Grant QTCP access to that user profile.
>
>Scares me at first, but the more I study that it sounds reasonable.  But 
>I'd appreciate comments from y'all.

-- 
-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertechgroup.com


__________________________________________________________________
Try AOL and get 1045 hours FREE for 45 days!
http://free.aol.com/tryaolfree/index.adp?375380

Get AOL Instant Messenger 5.1 for FREE! Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promos=380455
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing 
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

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.