The debug code
say size;'cmd/c dir chkconfig.sed';
checks if the arguments to stream() is all right, and it seems OK.
The stream() line is setting the pointer to the end of the file
chkconfig.sed
With procedural REXX (non ANSI)
     rc=stream('chkconfig.sed','c','seek + 'size)
is correct and
     rc=stream('chkconfig.sed','c','seek + 'size' write')
is wrong, while with ObjectREXX (whose procedural portion is ANSI)
     rc=stream('chkconfig.sed','c','seek + 'size' write')
is correct and
     rc=stream('chkconfig.sed','c','seek + 'size)
is wrong!
The line
if rxfuncquery(SysAddRexxMacro) then
tries to figure out which version of REXX interpreter is loaded.

Are we going to use
cmd /c "copy A+B C"
?  Where A is the first half of chkconfig.sed, B is the last half,
and C is the script to feed sed.  (cat is not an option)

Regards,
        SMiyata

Reply via email to