Title: Message
Dont know if this helps but found it in previous posts
 
 

[Easy400Group] Re: Apache migration (V5R1) : error ZSRV_MSG0107

andrew_david_kerr
Mon, 21 Nov 2005 02:30:49 -0800

Answering my own question (eventually)...in case someone else comes 
across this.

A job is launched by the server when I call my CGI program, which 
attempts to use the service program QHTTPSVR/QZSRAAU. I see from the 
log that '#auexcpt' produces the following error 'Attempt to use 
permanent system object QZSRAAU without authority'

The strange thing is that the job runs under user QTMHHTTP, who has 
*USE rights to this object. *PUBLIC is *EXCLUDE. If I change *PUBLIC 
to *USE everything works. 

If anyone knows why this should be I would be interested, but for the 
moment I am happy enough that I can now continue along the 
Apache/CGIDEV2 development path.

--- In [email protected], "andrew_david_kerr" 
<[EMAIL PROTECTED]> wrote:
>
> That steep learning curve just got steeper...
> 
> Have created my Apache served instance and it serves static pages 
> fine, but when calling a CGI program I get the following in the log 
> file
> 
> ZSRV_MSG0107: Premature end of script headers: File name is 
> PRDJOUR.PGM 
> 
> I had shifted my HTML to the IFS and verified that it had the 
> necessary blank lines after the headers (seemed to have been a 
> problem mentioned often on the forum), changed my RPG to use 
> gethtmlif and confirmed that it still works from the 'original' 
HTTP 
> server. HTML looks like
> 
> /$top                         **** START HTML
> Content-type: text/html                      
> 
> 
> <html>
> 
> 
> <head><title>Production Journalière</title></head>
> <body>
> <div><Img Src=""> Production Journalière: /%
> CHGDAT%/</div>
> <br>                                                  
>                                                       
> /$none                        **** NO RECORDS IN FILE 
> <div>Aucun enregistrement a trouvé</div>
> 
> /$tabstr                      **** START TABLE (SOME RECORDS IN 
FILE)
> <table border=1 
cellspacing=5>                                       
> 
<th>Code</th>                                                        
> 
<th>Désignation</th>                                                 
> 
<th>QTEPCK</th>                                                      
> 
<th>MTTRQT</th>                                                      
> 
> /$tabrow                      **** TABLE ROW (LIKE A SUBFILE LINE)  
> <tr><td>/%Code%/</td>                                               
>     <td>/%Desc%/</td>                                               
>     <td align=right>/%QTEPCK01%/</td>                               
>     <td align=right>/%MTTRQT01%/</td>                               
>     </td></tr>                                                      
>                                                                     
 
> /$tabend                      **** END TABLE (SOME RECORDS IN FILE) 
> </table>                                                            
> 
>                                                
> /$end                         **** END HTML    
> <br><br>                                       
> </body></html>    
> 
> My config file has been amended to allow the running of CGI. I used 
> the CGIDEV2/SETCGLIB to add the appropriate directives. Otherwise 
it 
> is unchanged since message 6860.
> 
> Anyone have any ideas? Is there somewhere else I should be looking 
> for details of errors?
> 
> Thanks Andrew
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Christine Mather
Sent: Thursday, January 05, 2006 11:06 AM
To: [email protected]
Subject: RE: [Easy400Group] ZSRV_MSG0107

 
 
Hi
The latest cum we are on is 5207 SF99530 installed also SF99529 level 61
can you tell me if you are on a higher level? 
We cannot load cum until end of Jan - 
I  have found some PTF's that may be applicable R510SI20810  1000 and R520SI08585 3161
Cheers
CHris
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Miles
Sent: 05 January 2006 15:47
To: [email protected]
Subject: RE: [Easy400Group] ZSRV_MSG0107

If you are on V5R3, we had this problem when we initially upgraded (it worked fine on previous versions).  However, after installing the latest cum and group ptf's the problem disappeared.
 
Stephen Miles
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]On Behalf Of Christine Mather
Sent: Thursday, January 05, 2006 10:35 AM
To: [email protected]
Subject: [Easy400Group] ZSRV_MSG0107

Hi
Can anyone help with the following -
I am getting the following message when I try to run my job.
 
ZSRV_MSG0107: Premature end of script headers: File name is CMEXAMPLE4.PGM
HTTP 500 - Internal server error
Internet Explorer
 
I have got a blank line prior to the <HTML> and also one after?
Cheers
Chris 

This message and any attachments are for the named recipient's use
only. They may contain confidential, proprietary or legally privileged
information. No confidentiality or privilege is waived or lost by any
mistransmission. If you are not the intended recipient or have received
this message in error, please delete it and all copies of it from your
system, destroy any hard copies of it and notify the sender
immediately. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message or any attachment
if you are not the intended recipient.
Any views expressed in this message or any attachment are those of the
individual sender, except where otherwise stated and the sender is
authorised to state them to be the views of any such entity.

This message and any attachments are for the named recipient's use
only. They may contain confidential, proprietary or legally privileged
information. No confidentiality or privilege is waived or lost by any
mistransmission. If you are not the intended recipient or have received
this message in error, please delete it and all copies of it from your
system, destroy any hard copies of it and notify the sender
immediately. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message or any attachment
if you are not the intended recipient.
Any views expressed in this message or any attachment are those of the
individual sender, except where otherwise stated and the sender is
authorised to state them to be the views of any such entity.



SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to