Hum. Yes, non-rent and "data only". I actually have CSECTs which only contain data. If one of my "data CSECTs" contain RMODE(24) things such as DCBs, then I mark them RMODE(24). I now try very hard to write all my HLASM as "pure" or non-self-modify code segments which could be loaded into key 0, read only storage and still run correctly. All my current code is also written as LE enabled, unless it is for something where LE is not possible, such as an z/OS exit.
On Sun, 2012-12-09 at 07:59 -0800, Edward Jaffe wrote: > On 12/9/2012 7:19 AM, John McKown wrote: > > I use RMODE(SPLIT) all the time to put my I/O > > CSECTs into RMODE(24) storage, while leaving the other CSECTs in > > RMODE(31) storage. > > I assume this is for non-reentrant code only. Of course, DCBs and DECBs must > still reside below 16MB (that usually works out to somewhere around 100 bytes > of > LOC=24 virtual storage per file--a little more if you use exit lists). But, > there is no need for the code that performs OPEN, CLOSE, GET, PUT, READ, > WRITE, > or even EXCP or STARTIO to be RMODE(24). > -- John McKown Maranatha! <>< ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
