John,
I agree I use
 
label    DS    0H       instead of   label   EQU    *
 
To me its what you said personal style. A lot of code I feel is ...
I am maintaining some code written by a friend, now gone.(passed away), used to 
work for a couple vendors,
he even used :
 
label   LR   R11,R12         only any example...
 
I got out of that habit long time ago because of program expandibility, not 
sure thats a word.
 
Anyway FWIW

Scott J Ford
Software Engineer
http://www.identityforge.com
 
 

________________________________
 From: "McKown, John" <[email protected]>
To: [email protected] 
Sent: Thursday, June 14, 2012 11:38 AM
Subject: Re: DS 0H
  
Well, just my personal oddity, I guess. No offense intended. I have many. As 
many are aware of. Especially on IBM-MAIN where I am always showing how I can 
do many things at a UNIX shell prompt more easily (for me) than using TSO REXX 
programming. Got one person royally angry, as best as I can tell from his reply 
phrasing and mild invective (incoherent use of crappy symbols like >, <, and | 
).

The : on a label is an interesting idea. But I am unsure of what "align 
properly" means. Do you mean to a halfword boundry? Or to the proper boundry 
implied by the next instruction? The latter may be a bit difficult. But I don't 
know because I don't know how the assembler does its parsing. What if the next 
card has a pseudo op like USING or DROP instead of something which has an 
implied or specified alignment requirement?

--
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets®

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® is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company®, 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 Frank Swarbrick
> Sent: Thursday, June 14, 2012 10:25 AM
> To: [email protected]
> Subject: Re: DS 0H
>
>  Why funny?  Seems to me that:
>
> EXIT    LABEL
>         RETURN (14,12),RC=0
>
>
> is a lot simpler to understand than
> EXIT    DS 0H
>         RETURN (14,12),RC=0
>
>
> Of course anyone who's programmed assembler for more than one
> day knows that the DS 0H is for, but I prefer to have my code
> describe "what it's for" rather than "how it works".
>
> Personally, I think the assembler should support a feature
> where it would align properly if you specify a label followed
> by a colon.  For example
>
> EXIT:
>         RETURN (14,12),RC=0
>
>
> or
> End_Processing:
>
>         RETURN (14,12),RC=0
>
> It's just more pleasing to my eye.
>
> Frank
>
>
>
> >________________________________
> > From: "McKown, John" <[email protected]>
> >To: 'Frank Swarbrick' <[email protected]>;
> "[email protected]" <[email protected]>
> >Sent: Thursday, June 14, 2012 6:00 AM
> >Subject: RE: DS 0H
> >
> >> -----Original Message-----
> >> From: IBM Mainframe Assembler List
> >> [mailto:[email protected]] On Behalf Of
> Frank Swarbrick
> >> Sent: Wednesday, June 13, 2012 6:29 PM
> >> To: [email protected]
> >> Subject: Re: DS 0H
> >>
> >> I though of doing that very thing.  Do you find it objectionable?
> >>
> >
> >Why would I? It just seems "funny" to me. But, if you were
> to see some of my code, you'd think that I'm a bit "funny".
> >
> >--
> >John McKown
> >Systems Engineer IV
> >IT
> >
> >Administrative Services Group
> >
> >HealthMarkets®
> >
> >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® is the brand name for products underwritten
> and issued by the insurance subsidiaries of HealthMarkets,
> Inc. -The Chesapeake Life Insurance Company®, Mid-West
> National Life Insurance Company of TennesseeSM and The MEGA
> Life and Health Insurance Company.SM
> >
> >
> >
> >
>
>

Reply via email to