Hi,




 I am getting the following error ** ASMA074E Illegal syntax in expression -
MACRO - WSBEGIN



 The following is the first few lines of the macro



          MACRO

 &NAME    WSBEGIN &BASE=

                    LCLC  &B(4)

                   LCLA &VAR,&VAR1,&VAR2

 &VAR      SETA 2

 &VAR1    SETA 1

          AIF  ('&BASE'(1,1) EQ '(').MULT

 &B(1)    SETC '&BASE'

 &VAR1    SETA 1

          AGO  .SETUP

 .MULT    ANOP

 .LOOP    AIF  ('&BASE'(&VAR,1) EQ ')').SETUP

          AIF  (&VAR LE 4).CONT



The following is the program source



 TESTB   WSBEGIN BASE=(R7,R8)



I am wondering what the error might be

Reply via email to