HI,

I'm trying to execute a rexx procedure from web browser, but i didn't success it. Can someone explain how-to?

I'm using IBM http server (original) on a model 270 Iseries system with V5R1.

here is my http config;

00010     #                                                      
00020     Map  /mis/*       /webmis/*                            
00030     Map  /kod/*       /webmis/scripts/*                    
00040     Map  /resim/*     /webmis/images/*                      
00050     Map  /rexx/*.rex  /QSYS.LIB/WEBMISLIB.LIB/QREXSRC.FILE/*.mbr
00060     #                                                      
00070     Pass /webmis/*                                          
00080     Pass /QSYS.LIB/WEBMISLIB.LIB/*                          
00090     #                                                      
00100     Exec /misp/* /QSYS.LIB/WEBMISLIB.LIB/*  %%EBCDIC%%
00110     Exec /rexx/* /QSYS.LIB/WEBMISLIB.LIB/QREXSRC.FILE/*
00120     AddType .js application/x-_javascript_ 8bit              
00130     #                                                      
00140     #---- CCSID for server jobs                            
00150         DefaultFsCCSID  1026                                
00160         DefaultNetCCSID 1254                                
00170     #                                                      
00180         enable get                                          
00190         enable post                                        
00200     AlwaysWelcome On                                        
00210     Welcome Welcome.html
00220     #                    


here is my test.rex in /QSYS.LIB/WEBMISLIB.LIB/QREXSRC.FILE

 SEU==>                                                                          
 FMT **  ...+... 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...
        *************** Beginning of data ****************************************
0001.00 SAY "Content-type: text/html"                                            
0002.00 SAY "0A"x                                                                
0003.00 SAY "0A"x                                                                
0004.00 SAY "<HTML><HEAD><TITLE>REXX TEST</TITLE></HEAD><BODY>"                  
0005.00 SAY "<h1>Hello from REXX</h1>"                                            
0006.00 SAY "<br>serdar erdem"                                                    
0007.00 SAY "</BODY></HTML>"                                                      
0008.00 RETURN                                                                    
        ****************** End of data *******************************************

when I try the url "http://mySystem/rexx/test.rex" in IE browser session following page appears.
SAY "Content-type: text/html" SAY "0A"x SAY "0A"x SAY "" SAY "

Hello from REXX
" SAY "
serdar erdem" SAY "" RETURN


And I see exactly the same my test.rex source when I select "Show source" in browser.


With by best regards, thank you.
Serdar Erdem



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