Why do we have multiple base registers in certain programs?
Answers were Sorted based on User's Feedback
Answer / mike m
A SINGLE BASE REGISTER ACCOUNTS FOR 4096 BYTES OF STORAGE.
YOU NEED A BASE REG. FOR EACH 4K. IF YOUR PROGRAM IS 12K,
YOU NEED AT LEAST 3 BASE REGS.
| Is This Answer Correct ? | 16 Yes | 3 No |
Answer / ajay kuriyal
it all depends upon the length of your program , if it is
more than 4095 then we need 2 register else only one can do
needful.
basically we can even use savearea register as a base
register, so as to accomodate the length of the program
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / dave grund
The more correct answer would be to address storage. Each register can address (or make reference to) 4,096 bytes of contiguous storage. If you need to address more storage than that, you need to initialize and use additional base registers.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / guest
To extend the Memory location of the current module
| Is This Answer Correct ? | 0 Yes | 1 No |
about ICM instruction.
Why can only 256 bytes be moved from one address to another in a MVC?
Why do we use "drop"? What does "using" do?
what is need of start 0? In steed of
WHAT WILL HAPPEN IF WE DROP THE BASE REGISTER IN THE PGM WHICH CONTAINS ONLY ONE BASEREG?
HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A PROGRAM AND ALSO HOW MANY MAXIMUM BASE REGISTERS WE CAN HAVE IN A SINGLE PROGRAM.
how to pass the parameters from jcl to assembler pgm?
how to initialize a register to 0000?
What is the difference between various read and find statement,and which one should be used when for better adabas performance ?
How many maximum base registers we can have in a program?
Why do we use "drop"?
What will happen if we drop the base register in the program which contains only one basereg?