> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Arthur T.
> Skip Robinson wrote:
> 
>   <snip and paraphrase:>
>   Comparing the merits of
> CLC  =C'IOLQ',3(R6)
> vs.
> CLC  3(4,R6),=C'IOLQ'
> 
> >I don't think this is about natural language influence. 
> >It's just about
> >programming convention based on experience.
> 
>       I disagree.  I believe that the "natural" way to code 
> is the latter specifically because of linguistic influence.

About 15 years ago I concluded that DSECTs, equates and defined constants
are your friends when coding in Assembler.  Thus:

LABEL    DSECT
FIELD1   DS    XL3
VARIABLE DS   CL(L'CONSTANT)
...

PROGRAM  CSECT
...
         USING LABEL,R6
         CLC   VARIABLE,CONSTANT
...
CONSTANT DC  C'IOLQ'
...

More typing, less confusion....

    -jc-

----------------------------------------------------------------------
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

Reply via email to