Hi Gilbert, If you want to round out the modules to allow you to page protect them perhaps something like this instead of the special link edit procedure.
* LTORG , * * round this module to a page boundary for page protect DC ((*+4095-DRIVER)/4096*4096-(*-DRIVER))X'00' DRIVERL EQU *-DRIVER Best Regards, Sam Knutson, GEICO Performance and Availability Management mailto:[EMAIL PROTECTED] (office) 301.986.3574 "Think big, act bold, start simple, grow fast..." -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Gilbert Saint-Flour Sent: Monday, October 23, 2006 10:17 AM To: IBM-MAIN@BAMA.UA.EDU Subject: Re: Is the teaching of non-reentrant HLASM coding practices ever defensible? Edward Jaffe wrote: > However, this post serves to further underscore the validity of my > suggestion re: the REFR attribute. It is an old option that is not > currently being exploited by the operating system. It could be "added" > in an upward compatible way. (See Jim Mulder's post in this thread.) > I'm sure there are a few existing programs, erroneously marked REFR, > that deliberately modify themselves. Those programs will need to be relinked. > For everything else, it's business as usual. ... You have my support: I also suggest that REFR be used to mean "loaded in SP=252" under the control of a system-wide option. I currently have to link-edit some of my REFR programs with a special utility which rounds up the length of the load-modules to a multiple of 4K because these programs issue PGSER PROTECT to set themselves read-only in order to prevent accidental overlays. If these REFR programs were loaded into SP=252, I wouldn't have to issue PGSER PROTECT or use a special link-edit procedure. -- Gilbert Saint-Flour GSF Software 4425 Monserrate St Coral Gables, Florida 33146 USA 1-305-665-9084 http://gsf-soft.com/ ==================== This email/fax message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email/fax is prohibited. If you are not the intended recipient, please destroy all paper and electronic copies of the original message. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html