Does Unix System Services support RECFM=FBS? If it does, then fopen needs to properly handle short blocks for append.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Bernd Oppolzer [[email protected]] Sent: Saturday, June 18, 2022 3:31 PM To: [email protected] Subject: Re: Some UNIX file usage questions 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
