Hello,

I have an AS400 running OS 5.2 NON Apache (Soon to upgrade)
Using CGIDEV2 - Not sure when the last update was done!

I am having an issue where the CGI pgm initiated by the desktop URL 
fails. 

Steps:
1) initiate the html URL 
2) A screen appears and I enter a single character value of 'R'
3) Normally the CGI program reads the file and displays it to the 
screen in html format. Today however it attempts to read the file 
but after a minute or so the process fails and I get a page cannot 
be displayed message 
(HTTP 500 - Internal server error) .  

On the AS/400 in the HTTP joblog the following message appears:
                                                                     
Message ID .. :   RNX0425       Severity . . . :   50         
Message type . . . . . :   
Escape                                              
Date sent  . :   02/01/06      Time sent  . . :   10:53:13   
                                                                     
          
Message: The length requested for storage allocation is out of      
range.                                                               
        
Cause:  RPG procedure WRTSECTION in program CGIDEV2/CGISRVPGM2     
  tried to allocate storage with a length that was not a value 
between 1 and 16776704.   
                                                                     
Recovery  . . . :   Contact the person responsible for program 
maintenance to determine the cause of the 
problem.                                          

4) Troubleshooting
Nothing has changed in HTTP, CGI or the program so I suspected the 
input file size as the cause of the problem. The input file was 
broken down into smaller file segments and things seem to work fine.

IBM indicates that it like a program or CGI configuration causing 
the limitation and not HTTP.

Any assistance in resolving this issue would be greatly appreciated.

Dave






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Easy400Group/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to