Thank you all for the tips.
ONLY within a MACRO it works

> -----Mensagem original-----
> De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>
> Em nome de Paul Gilmartin
> Enviada em: sexta-feira, 30 de dezembro de 2022 13:16
> Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
> Assunto: Re: ASMA003E Undeclared variable symbol SYSECT
>
> On 12/30/22 08:04:37, João Reginato wrote:
> >
> > Why ‘&sysect’ works fine inside a MACRO call but not in the program body
> out
> > of a macro??
> >
> >           WTO   '&SYSECT  start’
> >
> > ** ASMA003E Undeclared variable symbol; default=0, null, or type=U -
> > OPENC/SYSECT
>
> Isn't it defined as the SECT in effect when the macro was entered?
> So, no macro, no &SYSECT.
>
> > Any tips?
>
> This seems sill, but supply a macro to SETC a GBLC symbol to &SYSECT.
>
> --
> gil


--
O software antivírus Avast realizou uma checagem de vírus neste e-mail.
www.avast.com

Reply via email to