View previous topic :: View next topic |
Author |
Message |
ravikumar_sri2001 Beginner
Joined: 06 Dec 2002 Posts: 117 Topics: 44 Location: Chennai,India
|
Posted: Sat Nov 20, 2004 3:06 am Post subject: AMODE=31, RMODE=ANY |
|
|
Hi Gurus,
I have a COBOL program with attributes AMODE=31, RMODE=ANY.
The IBM manual says RMODE=ANY means "program can reside above or below 16 Meg line."
Can you please explain me in what situation the program will be loaded below the line, and in what situation the program will be loaded above the line ?.
Thanks,
Ravikumar. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Sat Nov 20, 2004 12:16 pm Post subject: |
|
|
The links provide some basic info on amode/rmode, but I don't see that they anwser the question of when the system decides to load an rmode(any) program below the 16M line. Its a question I've often wondered about too. Pardon me if I missed it though. |
|
Back to top |
|
|
ravikumar_sri2001 Beginner
Joined: 06 Dec 2002 Posts: 117 Topics: 44 Location: Chennai,India
|
Posted: Mon Nov 22, 2004 4:18 am Post subject: |
|
|
Kolusu,
I have gone thru the links you have given. As Semigeezer said , i could not find satisfactory answer for my question from those threads.
Thanks,
Ravikumar. |
|
Back to top |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Mon Nov 22, 2004 11:19 am Post subject: |
|
|
My view of this is that it is not information that IBM give out in general; they just say "RMODE(ANY) can load the program either above or below the 16Mb line". What I believe they probably do in this case is always load above the line unless there is insufficient storage (e.g. due to region limits, other storage use etc.) in which case it will be loaded below the line. However, I don't think this is stated explicitly anywhere. You could possibly try loading multiple copies of an AMODE(ANY) module (with no REUS/RENT attributes to force seperate physical copies) and see if the private area above the line was filled first, then the private area below the line. |
|
Back to top |
|
|
|
|