I have a macro that works right when the the following code is actually
'executed':
&LOPORTX SETC '&LOPORT'
AIF ('&LOPORT' EQ '0').LOPORTOK
AIF (T'&LOPORT' NE 'N').LOPORTOK
&LOPORTX SETC '=AL2(&LOPORT)'
.LOPORTOK ANOP
But, when that code section is bypassed using:
AIF ('&ACTION' EQ 'DSECT').ACT_DSECT
because the programmer just wants the the macro to define dsects, an
error is produced:
** ASMA136S Illegal logical/relational operator
which points to the line containing:
AIF (T'&LOPORT' NE 'N').LOPORTOK
The variable &LOPORT is defined in the macro model statement and
defaults to zeros.
&LOPORT=0,
Thoughts?
Tony Thigpen