home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
srev13g.zip
/
ADV_OPTS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-11-15
|
975b
|
27 lines
/*Example of a rexx procedure called by the EXEC line in an SRE-http
advanced-options file. It say echo stuff to the pmprintf window */
/* SRE-http passes the following arguments */
parse arg args,source,request,sel,privset,verbose,servername,host_nickname,datadir,homedir,tempdir
say " The following arguments were recieved: "
say "Args from the EXEC line in the advanced options file: " args
say "Source: " source
say "Request: " request
say " (modified) selector: " sel
say "SRE-http privileges: " privset
say "Verbose: " verbose
say "Servername: " servername
say "Host Nickname: " host_nickname
say "DataDirectory: " datadir
say "HomeDirectory: " homedir
say "TemporaryDirectory: " tempdir
return 0
/* note this should ALWAYS return 0. The only exception is when it
issues a goserve completion code (such as 'FILE xxx ' or 'VAR xxx')
If a completion code is issued, it should return status_code bytes_sent,
i.e.; return 200||' '||1512
*/