You're right, and I experimentally confirmed what the manual said. Thanks.

So why not

          MACRO
...
&SYSLOC  LOCTR
          MEND

which seems to cover everything?

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Paul Gilmartin <[email protected]>
Sent: Wednesday, December 20, 2023 3:30 PM
To: [email protected]
Subject: Re: Setting &sysect as CSECT or on using

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