On Wed, 20 Dec 2023 at 13:46, Paul Gilmartin <
[email protected]> wrote:
> On 12/20/23 09:21:39, Joseph Reichman wrote:
> > I understand if I want to make it work I’ll have to break up the macro
> into parts finish the fest after I have a CSECT statement
> > .
> It works as intended as it is. I believe the design objective of
> &SYSECT is to allow the coder of a data area DSECT to restore the
> caller's environment before exit.
>
MACRO
...
&N SETC '&SYSECT'
&T SETC '&SYSSTYP'
BLAH DSECT
...
&N &T
MEND
is common enough in our code. I can't say I've tried it, but presumably it
would work with an unnamed xSECT.
Tony H.