When I tried with:
MACRO
DECTEST2
.*--------------------------------------------------------------------*
MNOTE 1,'BEFORE ISDEC'
&XDEC SETB (ISDEC('123'))
MNOTE 2,'AFTER ISDEC'
MEND
.. I got:
** ASMA089E Arithmetic expression contains illegal delimiter or ends
prematurely - MACRO - DECTEST2
** ASMA435I Record 5 in S000TBE.A.MACLIB(DECTEST2) on volume: TSO015
-----Ursprungligt meddelande-----
Från: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] För Martin Kline
Skickat: den 10 november 2005 20:37
Till: [email protected]
Ämne: Re: ASM: ISDEC do the loop...
Sorry if this is a duplicate message. I couldn't find where my first attempt
was even acknowledged.
ISDEC expects to be given a string, not a number. For example:
&XDEC SETB (ISDEC('123')) * Should return 1
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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