In addition to adding a second register to the USING you also have to load the 
second register with (1st base register + 4096).  Just specifying it on the 
USING is not enough.

Your ENTER macro should support setting more than one base register for you 
(most of the ones I have seen will do so for you, at any rate).  Check the 
parameters to that macro and whatever documentation on it you may have to see 
how to do that.

HTH

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Steely.Mark
Sent: Wednesday, November 14, 2018 4:50 PM
To: [email protected]
Subject: ASMA034E

EXTERNAL EMAIL

The assembler program I am working on is receiving several  of these messages:

ASMA034E Operand =XXXXX' beyond active USING range by 148 bytes


I have tried all the examples to add a second register to the USING statement.
When the program executes it gets a S0C1.

Currently I have a macro call ENTER which sets up all the register and 
generates a USING statement with 1 register.

Does anyone have a macro or  a piece of code which will setup a USING statement 
with 2 registers.

Thank You
--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to