Or SOMENEXT EQU *, the next entry in some sequential table?

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Phil Smith III
Sent: Thursday, August 2, 2018 9:03 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: EQU * considered harmful

Steve Smith wrote, in part:

>Note that I don't think EQU * should be used in data areas either, where it

>is potentially more dangerous.   This is the kind of error that motivated

>me to write this up.

 

I'm sure it can be; what's wrong with this:

 

SOME     DSECT ,

SOMEA    DS    F

SOMEB    DS    F

SOMENAME DS    CL8

SOMEREST EQU   *

 

In this case, SOMEREST is the end of the defined part of the DSECT and the
rest is some sort of free-fire zone (or mapped by other DSECTs, or
whatever). I've done that a million times, never regretted it; IBM does it
all the time. What's wrong with it?

 

.phsiii (this is fun!)

Reply via email to