MNOTE *,'&&SYSECT="&SYSECT."; &&USING="&USING."'

Also, what do you expect that LAE to do?

Note; you can replace the LA, LA pair with a single LAY; shorter, faster and 
clearer.

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

________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Joe Reichman <[email protected]>
Sent: Tuesday, December 19, 2023 6:33 PM
To: [email protected]
Subject: Re: Setting &sysect as CSECT or on using

                                   2420+         PRINT ON
000050 B240 00E0                   2421+         BAKR  14,0
000054 51CF 0000            00000  2422+         LAE   12,0(15,0)
000058 41A0 CFFF            00FFF  2423+         LA    10,4095(,12)
00005C 41A0 A001            00001  2424+         LA    10,1(,10)
000060 B247 0000                   2425+         MSTA  0
                                   2426+         DROP  15
                                   2427+         MHELP 16
                                   2428+         USING ,12,10
** ASMA074E Illegal syntax in expression - ,12
Here is the macro code

           DROP  15                 DROP ADDRESSING ON ENTRY POINT
          MHELP 16
          USING &SYSECT,&USING     SET ADDRESSING ON BASE REGISTER(SJOER

Here is the MHELP dump clearly you can see that &SYSECT is GRECOV

THANKS


//MHELP ENTRY TO  STORAGE  MODE
////SYSTEM PARAMETERS:
//SYSVAR NAME    LNTH  VALUE (5
//SYSNDX          004  0005
//SYSECT          006  GRECOV
//SYSLOC          006  GRECOV
//SYSTIME         005  18.04
//SYSDATE         008  12/19/23
-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On
Behalf Of Binyamin Dissen
Sent: Tuesday, December 19, 2023 6:27 PM
To: [email protected]
Subject: Re: Setting &sysect as CSECT or on using

You know what you failed to include in the post.

'nuff said.

On Tue, 19 Dec 2023 18:12:37 -0500 Joseph Reichman <[email protected]>
wrote:

:>Hi
:>
:>When I use the following
:> Using &sysect,12,10
:>
:>&sysect comes up blank even though I know it had been set :>Thanks

--
Binyamin Dissen <[email protected]> http://www.dissensoftware.com/

Director, Dissen Software, Bar & Grill - Israel

Reply via email to