IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DB2 V8 upgrade error: beyond active USING range


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chandru_g

New User


Joined: 07 Mar 2006
Posts: 5

PostPosted: Tue Sep 23, 2008 5:29 pm
Reply with quote

Hi All,

We are migrating to Db2 V8 and when trying to compile using DB2 V8, I

am getting...

"ASMA034E Operand xxx beyond active USING range by 16 bytes" bytes"

Any idea how this can be solved? We dont have any issues with DB2 V7.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Sep 23, 2008 5:50 pm
Reply with quote

find out which csect in Your source has grown outside it' s old addressability layout

due probably to v8 copybook changes and find a way to reduce it' s size
or review the register usage and add a new base register
Back to top
View user's profile Send private message
chandru_g

New User


Joined: 07 Mar 2006
Posts: 5

PostPosted: Tue Sep 23, 2008 9:34 pm
Reply with quote

can you give me an example on how to add new base register... or a link which can help me?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Sep 23, 2008 11:39 pm
Reply with quote

if it is an in house application, then there should be somebody able to fix it
a useless answer ( even if technically correct ) to the base register question could be
Code:

before
*234567890123456
         USING csectname,REG1
         .........  instructions to load the REG1 with a valid address
after
         USING csectname,REG1,REG2
         .........  instructions to load the REG1 with a valid address
         LA   REG2,2048(,REG1)
         LA   REG2,2048(,REG2)

the above snippet is for 24/31 byte addressing mode
for 64 bits the mumbo jumbo might be completely different
( anyway there are not many people in 64 bit assembler programming )

if the issue is with some third party software - IBM included , contact the provider for a fix
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts To get the count of rows for every 1 ... DB2 3
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top