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

What is the use of specifying the ADDRSPC as REAL or VIRTUAL


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Tue Dec 21, 2010 9:00 pm
Reply with quote

Hi

I already studied about memory paging concepts.
Virtual Memory - When a program of huge size needs to be executed and if the memory is not able to fit to hold that program, then a portion of the secondary storage device would be allocated and the program will be stored as pages. Whenever the main memory needs a particular page to execute it, page replacement takes place between main and secondary memory and in this way the execution takes place.

I also studied that the OS programs, utilities and start up programs usually requires REAL ADDRSPC.

My Question here is what is the benefit will i have if i set the ADDRSPC of a job as REAL? Lets take a case...If i set the ADDRSPC as REAL for my job and if there is no space in the main memory for the next program which has high priority and its ADDRSPC is REAL, what the system will do that time?

Please explain the advantages and disadvantages of both ADDRSPC. because i could understand what are they? But couldnt understand the benefit of their usage?

Thanks in advance.

Suresh K
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Tue Dec 21, 2010 9:14 pm
Reply with quote

Quote:
utilities and start up programs usually requires REAL ADDRSPC

I do not believe this to be true. Please cite your reference.

I have never used that parm in 30 years, so I do not think you need to use it nor even know about it.
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Tue Dec 21, 2010 10:44 pm
Reply with quote

Hi
Sorry. I was supposed to post this under JCL forum. Please excuse.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Dec 21, 2010 11:20 pm
Reply with quote

Hello,

Why do you believe this is a JCL question/topic?

The duplicate topic has been deleted as this one already has dialog.

If there is some reason to relocate this, just post a reply and it can be moved.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Tue Dec 21, 2010 11:49 pm
Reply with quote

I have never used ADDRSPC in my 29 years in this business, but 5 minutes of Googling was enough to convince me that this is something that the application programmer should not mess with. To do so might provoke the wrath of your local sysprogs.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 22, 2010 6:24 am
Reply with quote

ADDRSPC=REAL is used when a program cannot be paged, usually due to timing issues. For example, the TCP/IP programs such as FTP require some real memory since there are time-dependent functions that could be impacted if memory paging occurred.

If a program requires ADDRSPC=REAL, that will be clearly noted in the installation instructions. No application programmer should ever use this parameter -- using it incorrectly could impact the entire LPAR workload (batch jobs, TSO sessions, started tasks, CICS regions, DB2 -- everything).

Contact your site support group if you feel you need this option -- they can provide you the site rules on using it (and the penalties for using it without permission).
Back to top
View user's profile Send private message
sureshmurali
Warnings : 1

New User


Joined: 25 Nov 2010
Posts: 70
Location: Sivakasi, India

PostPosted: Wed Dec 22, 2010 8:18 am
Reply with quote

Hi friends,

Thanks for your reply.
I was eager to know the usage of REAL ADDRSPC.
Robert With your kind answer, i understood the thing.
Thanks a lot.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Using Virtual Tape Server TS7700 as c... All Other Mainframe Topics 0
This topic is locked: you cannot edit posts or make replies. COBOL/CICS with real time MQ Series u... CICS 2
No new posts INSUFFICIENT VIRTUAL STORAGE!! SYNCSORT 1
No new posts Not enough virtual memory is availabl... IBM Tools 16
Search our Forums:

Back to Top