The 'current user' is what you need to look at....

typically it is QSECOFR

What you need is *USE authority on the QSECOFR *USRPRF

once you have this you can STRSRVJOB

If you want to see the job log (after you have the  above requirements)

     1. strsrvjob
     2. strdbg
     3. at the breakpoint - you will now be able to see the joblog because
QSECOFR is not the current user at that moment in time.

Good luck

It's a pain but that's how I do it.

Andrew




                                                                                
                                           
                    "Christopher A.                                             
                                           
                    Libby"                       To:     "WEB400@midrange. com" 
<WEB400@midrange.com>                      
                    <clibby@mainepublicse        cc:                            
                                           
                    rvice.com>                   Subject:     Can't Debug a 
RPG-CGI                                        
                    Sent by:                                                    
                                           
                    owner-web400@midrange                                       
                                           
                    .com                                                        
                                           
                                                                                
                                           
                                                                                
                                           
                    08/06/2001 02:24 PM                                         
                                           
                    Please respond to                                           
                                           
                    WEB400                                                      
                                           
                                                                                
                                           
                                                                                
                                           




I'm having problems getting authorized to run a STRSRVJOB on the job running
my RPG-CGI.  It tells me I'm not authorized to the job log nor to the job,
even though QPGMR has *ALL authority to the job description and userid
associated with QHTTPSVR.

What could be causing the problem?

-Chris


---------------------------------------------------------
Christopher A. Libby, Programmer/Analyst
Maine Public Service Company (www.mainepublicservice.com)
clibby@mainepublicservice.com (207) 768-5811 ext. 2210










+---
| This is the WEB400 Mailing List!
| To submit a new message, send your mail to WEB400@midrange.com.
| To subscribe to this list send email to WEB400-SUB@midrange.com.
| To unsubscribe from this list send email to WEB400-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.