/* A sample CGI script written in REXX for the AS/400 */ PARSE arg argv argc = WORDS(argv) SAY "CONTENT-TYPE: TEXT/HTML" /* The hard way to write a blank line to the browser. */ CALL WWWREXX "WRITEHEADER", "" /* The following line is a more convenient way of writing a blank */ /* line to end the request headers. However, PTF SF26297 must be */ /* applied on your system before the SAY with no expressions will work. */ /* SAY */ SAY "" SAY "CGI/1.1 TEST SCRIPT REPORT:" SAY "" SAY "

CGI/1.1 REXX TEST SCRIPT REPORT:

" SAY "" SAY ""