> That clear more storage than they requested? No, I meant, that GETMAIN zero bytes.
Don't want to get into a hissing contest. How many angels can dance on zero bytes of dynamic storage? Less than one nano-cherub. Any program that GETMAINs zero bytes and then "uses" the storage deserves what it gets. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tony Harminc Sent: Wednesday, February 12, 2014 6:15 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Storage Obtain ..... On 12 February 2014 20:07, Charles Mills <charl...@mcn.org> wrote: >> Sure - it could assign one. It wouldn't have to be unique; just > access-exception correct. > > And then the OP would have cleared that "dummy" storage area passed > back from OBTAIN and wondered how _that_ happened. If you clear only your requested 0 bytes of the area, all should be well. MVCL and friends would work fine for that. > I don't see how IBM solves it without creating a nightmare for some number of programs that do this. That clear more storage than they requested? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN