Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!stanford.edu!agate!ucbvax!VM.SAS.COM!SASDDI From: SASDDI@VM.SAS.COM (Dale Ingold) Newsgroups: comp.lang.asm370 Subject: Does conditional COPY still look for member? Message-ID: <9105022102.AA08369@ucbvax.Berkeley.EDU> Date: 2 May 91 19:12:52 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: IBM 370 Assembly Programming Discussion List Distribution: inet Organization: The Internet Lines: 29 We have an assembler module which does a conditional COPY (via AIF/AGO/ANOP logic). When attempting to assemble the module with the SET symbols set such that the COPY instruction is not executed, we get a message that the member specified on the COPY instruction is not found, to wit: IEV060 *** ERROR *** COPY CODE NOT FOUND -- SASCRAB The message in itself is correct; the member does not exist on the system on which the assembly is running. A further interesting fact is the position of the message within the listing; although the COPY instruction appears near the end of the module, the error message appears much closer to the top of the listing. Final relevant fact: we are running Assembler (H) V2 Speculation: doesn't the assembler do lookahead? And if so, could it be looking for (via BLDL?) or actually reading in, any member specified on a COPY instruction whether or not the instruction is actually "executed"? Is this surprising? Perhaps not, since the sequence symbol being branched to might lie within the COPYed code. Well, sitting here typing this in, I think I've answered my own question, but perhaps it'll spark some interesting dialog. ========================================================================= Dale D. Ingold SAS Institute Inc. snoddi@mvs.sas.com MVS Host Group SAS Campus Drive 919/677-8000 x7603 Cary, NC 27513-2414