> - switch from EXECIO to a pipeline
> 
> I'd recommend switching to a pipeline.

Please, don't change a REXX construct like this to PIPE (I saw that be 
done more than once)
  do ......
     ...
     'EXECIO 1 DISKW fn ft fm (VAR xxx'
  end 
into
  do ......
     ...
     'PIPE VAR XXX|>> fn ft fm'
  end 
The reason: EXECIO leaves the file open after each record.  Writing to an 
open file is much quicker than what PIPE does here above: Open, Write, 
Close. 

I'm not saying that execs should not close the files they use: if there is 
one file that remains open, updates to all other files are not commited to 
disk.  Only when all files are closed,you can be sure everything is saved 
to disk.

Kris,
IBM Belgium, VM customer support

Reply via email to