View previous topic :: View next topic
|
Author |
Message |
chandru_g
New User
Joined: 07 Mar 2006 Posts: 5
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
chandru_g
New User
Joined: 07 Mar 2006 Posts: 5
|
|
|
|
can you give me an example on how to add new base register... or a link which can help me? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
|