I am very sure that if you issue fopen (with "append")
on a file with, say, LRECL = 24 and BLKSIZE = 9600, which has
one record and one block with only one record in it,
and you write a second record, that then this file will still have
one block, but now two records.

At least this is what I expect from the C runtime.

Kind regards

Bernd


Am 18.06.2022 um 21:23 schrieb Steve Smith:
QSAM to a traditional PS file with the process you described is certainly
going to write only short blocks.  Given the amount of data involved, would
it matter?

However, besides USS files, you could consider an ESDS.  VSAM maintains its
CISIZE and blocksize quite rigorously.  And it should be very safe.

sas

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

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

Reply via email to