On Sun, 19 Jun 2022 17:36:28 +0000, Seymour J Metz  wrote:

>Does Unix System Services support RECFM=FBS? If it does, then fopen needs to 
>properly handle short blocks for append.
>
Probably not.  Even QSAM can't do that, even though it should. Submit an RFE.

Or RYO with BSAM.

There's an argument here for using UNIX files rather than Classic
data sets.

_______________________________________________________
On Sun, 19 Jun 2022 17:40:17 +0000, Seymour J Metz  wrote:

>I'm a REXX bigot, but updating a shared Unix file with appropriate 
>serialization might be easier in, e.g., Java, Perl, Python.
>
I believe the OP envisioned only one writer with zero or more concurrent 
readers.

I've done it in shell.

But in another case I went to SR with a performance problem with O_APPEND.
WAD.  O_APPEND imposes serialization overhead even though I was the
only writer.  I suppose a single writer might stat(); seek(); write() to avoid 
the
serialization overhead.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to