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

Reply via email to