FSVO QSAM.

"FIXED=USER
With this DCBE option, you assert that the data areas remain fixed from the 
time the READ or WRITE
macro instruction is issued through the completion of the CHECK or WAIT macro 
instruction." 

Three out of four of those macros are BASm, and the last isn't part of the 
access methods.

SP0 is normal for BSAM buffers. try

         STORAGE OBTAIN,...,ADDR=(1)
         LR  R6,R1


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

________________________________________
From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Joseph Reichman [reichman...@gmail.com]
Sent: Thursday, March 23, 2023 10:03 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Does BSAM I/O area have to be fixed storage

Seymour “respectfully ” that’s for QSAM in locate mode BSAM doesn’t have a 
locate mode the user supplied the I/O area

This snippet is from code that is re-entrant

I remember a long time ago I wrote program here at the IRS using bsam and got 
storage from subpool zero

There is one program here at the IRS that uses bsam most of the programs are  
qsam in locate mode I would ask but they don’t like it if I contact developers



> On Mar 23, 2023, at 9:40 AM, Seymour J Metz <sme...@gmu.edu> wrote:
>
> The access method handles page fixing unless you specify DCBE FIX=USER.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> ________________________________________
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
> Paul Gilmartin [0000042bfe9c879d-dmarc-requ...@listserv.ua.edu]
> Sent: Thursday, March 23, 2023 9:03 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Re: Does BSAM I/O area have to be fixed storage
>
>> On Thu, 23 Mar 2023 12:31:36 +0000, Seymour J Metz wrote:
>>
>> It is normal to obtaon buffers from subpool 0. It is not normal to specify 
>> DCBE options that you don't want'
>>
> I coded some BSAM long ago, 370 era.  I never bothered with fixing pages.
> I assumed/was told the access method did that for me.  I suspect it was
> for compatibility with 360.
>
>> Please include the relevant DCBE with code that you post.
>>
>> BTW, the DFSMSdfp documentation discusses what can be above the line line 
>> and how to support it.
>
> --
> gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to