MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

AMODE=31, RMODE=ANY

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
ravikumar_sri2001
Beginner


Joined: 06 Dec 2002
Posts: 117
Topics: 44
Location: Chennai,India

PostPosted: Sat Nov 20, 2004 3:06 am    Post subject: AMODE=31, RMODE=ANY Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12372
Topics: 75
Location: San Jose

PostPosted: Sat Nov 20, 2004 8:36 am    Post subject: Reply with quote

ravikumar_sri2001,

Please search before posting. check this link which explains in detail about Amode and Rmode


http://www.mvsforums.com/helpboards/viewtopic.php?t=543&highlight=amode

http://www.mvsforums.com/helpboards/viewtopic.php?t=1142&highlight=amode

http://www.mvsforums.com/helpboards/viewtopic.php?t=2361&highlight=amode


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Sat Nov 20, 2004 12:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
ravikumar_sri2001
Beginner


Joined: 06 Dec 2002
Posts: 117
Topics: 44
Location: Chennai,India

PostPosted: Mon Nov 22, 2004 4:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Mon Nov 22, 2004 11:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group