I remember one wag making a macro:
MACRO
&LBL LABEL
&LBL DS 0H
MEND
Hum, might be amusing to name that COMEHERE or JUMPHERE .
--
John McKown
Systems Engineer IV
IT
Administrative Services Group
HealthMarkets(r)
9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
[email protected] * www.HealthMarkets.com
Confidentiality Notice: This e-mail message may contain confidential or
proprietary information. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message.
HealthMarkets(r) is the brand name for products underwritten and issued by the
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The
MEGA Life and Health Insurance Company.SM
> -----Original Message-----
> From: IBM Mainframe Assembler List
> [mailto:[email protected]] On Behalf Of Pesce, Andy
> Sent: Wednesday, June 13, 2012 12:22 PM
> To: [email protected]
> Subject: Re: DS 0H
>
> I was always taught:
> LABEL EQU *
>
> to distinguish a label. However, when I perform maintenance
> on a program
> that someone else wrote with:
> LABEL DS 0H
>
> I use that way. This keeps it standardized throughout the
> program as not to confuse
> the next person that does maintenance.
>
>
>
> -----Original Message-----
> From: IBM Mainframe Assembler List
> [mailto:[email protected]] On Behalf Of Edward Jaffe
> Sent: Tuesday, June 12, 2012 5:23 PM
> To: [email protected]
> Subject: Re: DS 0H
>
> On 6/5/2012 4:51 AM, McKown, John wrote:
> > My rule for most instructions is "place any required label on a
> > separate DS 0H as the preceding statement."
>
> I use DC 0H rather than DS 0H, but that is a minor
> difference. Naturally, the label is always on its own line.
> Otherwise the instruction would not line up with the others
> below and that would look ugly. For example:
>
> ***************************************************************
> * Subroutine to Accumulate FOOs *
> ***************************************************************
> AccumulateFoos DC 0H
> STKPUSH , Save the registers
> .
> . (FOOs get accumulated here)
> .
> STKPOP , Restore the registers
> BR R14 Return
>
> --
> Edward E Jaffe
> Phoenix Software International, Inc
> 831 Parkview Drive North
> El Segundo, CA 90245
> 310-338-0400 x318
> [email protected]
> http://www.phoenixsoftware.com/
>
>