FWIW I solve this problem by using a separate CSECT for a GETMAIN storage template. Wastes a load to address the CSECT, but you only need to do it once. Then you can use the CSECT definition "as though it were a DSECT" for addressing the GETMAIN storage. Real neat and clean.
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin Sent: Sunday, November 19, 2006 1:58 PM To: [email protected] Subject: Re: assembler question (strong typing) On Sun, 19 Nov 2006 13:39:06 -0800, Charles Mills <[EMAIL PROTECTED]> wrote: > > Gee, in my impression, and in my expectations, a USING range check is just > that: a check to make sure that the displacement in within the limits > specified. > Yes. I encountered a problem when I built a template for a control block in reentrant storage and copied it into part of a work area in acquired storage. I used a relative using with an upper bound to map the proper part of the acquired storage, and put an upper bound on the CSECT base register to exclude tne template. But HLASM warned (incorrectly, IMO) that part of the CSECT could be addressed by both the CSECT base register and the DSECT base register. ---------------------------------------------------------------------- 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

