It doesn't have to be FBS if you know the location of the block.

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי



________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Binyamin Dissen <[email protected]>
Sent: Saturday, November 11, 2023 12:30 PM
To: [email protected]
Subject: Re: Is True Skip-Sequential Processing Possible with RECFM=FB,DSORG=PS?

On Sat, 11 Nov 2023 10:07:14 -0500 Steve Smith <[email protected]> wrote:

:>Sure it's possible... BSAM POINT should work fine in general, and BDAM is
:>even more powerful.  However, the previous mention about short blocks is
:>important; that will foul up block calculations, so you'd probably want to
:>make it FBS, and make sure there are no short blocks.  Presuming your
:>application knows what record it wants to start with, you'll have to
:>calculate the TTR and block offset from that.  And of course, by using
:>BxAM, you have to do your own de-blocking, and I/O overlap.

Yes, it would have to be FBS. The block address can be calculated and a BDAM
direct read could retrieve the block.

However this is the wrong organization for the file if that is your need. No
matter how hard you try, a hammer is a poor tool to put in a screw.

--
Binyamin Dissen <[email protected]>
http://secure-web.cisco.com/1CMWALOVNRtco6uxkLaJ4W4d5JF61Tll8r5RfxJTQEZbMc0O-lpe5e2A9DOpYv_4hXIlCPyote0JZQD3L9oZN1dUI02GMKQfcMamv_R7boNUpJcPEbzJCuxHWwQj9VAntNbivcZmnBEFIdzDCcp3GfRdeHQs4VKQSUy3UsJgz0zW9gdmFFDkdPCZqn-ntK8RfwbqundRpx5zebeWyLnrh67VcdU9y660GP4yTEljwk-alYcIjV3v03Eq7M35DRpt-goBbGfYmo4XPV-GXq3jrJJfxBA8trlWOope9h1kSN7LexAcYipOwfEXsfMCHlVHs37vJfEm28-8Ykhne0naHKVcKNVZv_dlzUf3pkRCxSsAIVwsy-B_VXOsz_JfMhvC3Z2PwK9trVQ0vFaqrcoF79TnshPF20V0YMWfPH89tAJU/http%3A%2F%2Fwww.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel

Reply via email to