On 12/20/23 12:58:41, Seymour J Metz wrote:
Why not

          MACRO
...
&SYSECT  &SYSSTYP
&SYSLOC  LOCTR
          MEND
.
Doesn't &SYSLOC  LOCTR imply &SYSECT  &SYSSTYP?  I don't believe
it creates a duplicate-named location counter in a different section.
Is there an RFE for PUSH CSECT, PUSH DSECT or PUSH LOCTR?
.
I think Tony's suggestion covers the meager use case.


________________________________________
From: Tony Harminc
Sent: Wednesday, December 20, 2023 2:46 PM> 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.

--
gil

Reply via email to