> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Paul Gilmartin
> 
> In a recent note, Edward Jaffe said:
> 
> > Date:         Tue, 7 Nov 2006 07:45:41 -0800
> > 
> > I have written macros to implement assembler features for which I
have 
> > been asking for a long time. In this case, it's the ability to use
the 
> > implied length of the source rather than target operand. In this
case, 
> > I would code:
> > 
> > |    MVC2  TARGET,=XL6'402021212121'
>
> And your macro is able to infer the implied length of a 
> literal pool reference?  I'm impressed!  Or, is the assembler 
> smarter than I thought, and able to deal with a generated:
> 
>          MVC   TARGET(L'(=XL6'402021212121')),=XL6'402021212121'
> 
> ... or the like?

I tried that variation for my "centering" example, and got this error:

000094 0000 0000 0000 00000 00000     8          MVC
LINEOUT+(L'LINEOUT-L'(=C'CENTER ME!'))/2(L'(=C'CENTER ME+
                                                       !')),=C'CENTER
ME!'                                      
** ASMA147E Symbol too long, or first character not a letter -
(=C'CENTER 

Shortening it to fit on one line didn't help:

00009A 0000 0000 0000 00000 00000     9          MVC
LINEOUT(L'(=C'CENTER')),=C'CENTER'
** ASMA147E Symbol too long, or first character not a letter -
(=C'CENTER')),=C'CENTER'  

    -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