That's only relevant if you're using BDAM.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of 
Binyamin Dissen [[email protected]]
Sent: Thursday, April 20, 2023 5:15 AM
To: [email protected]
Subject: Using BSAM to witre a RACFM=VB dataset

I see that there is WRITE SF RC=4 which means that a WRITE SZ has to be issued
(where the system supplies the record so there is zero application logic to
build it) and then the original WRITE SF must be reissued.

          WRITE SF
          IF  R15=4  then
               WRITE SZ
               CHECK SZ
               WRITE SF again
           ENDIF

?


(1) Is this still required? Or is this 30 year old doc that hasn't been
updated?

(2) Is there a DCB option to do this automatically?

While I have used BPAM/BSAM in the past, it was never variable length. So this
is something new to me.

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com/

Director, Dissen Software, Bar & Grill - Israel

----------------------------------------------------------------------
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