On Tuesday, 11/29/2005 at 03:23 CST, Alan Ackerman 
<[EMAIL PROTECTED]> wrote:
 
> I'm mostly concerned because I've made heavy use of SFS and I've always
> believed that SFS gave the client a consistent view of the file from 
Open
> to Close. If that isn't true, I may have some other code to go fix.

SFS *does* do that, but only within the context of a workunit.  When 
working with commands and Rexx, you do have to be aware of implicit and 
default workunits that are created.  Trying to wrap your brain around all 
of the cases and their exceptions requires lots of patience.  That these 
interfaces hide the workunits from you introduces the possibility that 
they may not be managed the way you would like.

> It occurs to me that the use of lines(ifn ift ifm ) and linein(ifn ift
> ifm ) instead of lines(handle2) and linein(handle2) may have something 
to
> do with the problem -- maybe that forces REXX to go out and find the new
> file instead of the old one?

I live in fear of the above-mentioned default workunits.  It's why I like 
the CSL routines - I control work unit creation and commitment.  Pipelines 
likely does more withing the context of a single workunit, a good thing.

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to