× 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.


  • Subject: RE: running batch job under another profile
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Fri, 22 Sep 2000 16:28:32 -0700

This is a job that will be part of the nightly job stream, so the msgq
situation is probably a good thing.  Creating a jobd might be better.  

I'm used to having godlike authority and get confused real fast when
confronted with situations when that's a bad thing.

> -----Original Message-----
> From: Sims, Ken [mailto:KSIMS@SOUTHERNWINE.com]
> Sent: Friday, September 22, 2000 3:51 PM
> To: MIDRANGE-L@midrange.com
> Subject: RE: running batch job under another profile
> 
> 
> Hi Joel -
> 
> >What are the pros and cons of running a batch job under a 
> user profile
> >different from that of the person who submits the job using 
> the USER parm
> of
> >SBMJOB?
> 
> Two things come to mind right away:
> 
> 1. if you use USER(*JOBD) on the SBMJOB, to pull the user 
> profile from the
> job description rather than specifying it explicitly: for 
> security levels 30
> and down, the user doing the submit only has to have 
> authority to the jobd
> and does NOT have to have authority to the user profile 
> specified on the
> jobd.  For 40 and up, the user must also have authority to 
> the user profile.
>    Since you are going to be specifying the user profile 
> explicitly on the
> SBMJOB command, that does not come into play.
> 
> 2. if the SBMJOB specifies or defaults to MSGQ(*USRPRF), the 
> message queue
> of the submitter gets used, rather than the message queue of 
> the profile
> that the job actually runs under.  Depending on the 
> circumstances, that may
> be good or may be bad.
>    If it's bad, you can get around it with a double submit.  
> Submit a job
> with MSGQ(*NONE) specifying the user profile you want, where 
> that job's only
> function is to submit the actual job that you want to run.
> 
> Ken
> Southern Wine and Spirits of Nevada, Inc.
> Opinions expressed are my own and do not necessarily 
> represent the views of
> my employer or anyone in their right mind.
> 
> 
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.