View previous topic :: View next topic |
Author |
Message |
abhayasahoo Beginner
Joined: 04 Dec 2002 Posts: 8 Topics: 6
|
Posted: Sun Dec 08, 2002 2:25 am Post subject: Region Parameter |
|
|
Hi,
Is it advisable to put REGION=0M in all the jobs in the shop ? Let's say that program A does not require enough virtual storage. Does it still allocate unwanted virtual storage for the program ?
We have been facing problems with S878 abends in many of our jobs. We have been asked to put REGION=0M in all of our jobs. I just wanted to know if this would impact the performance of other jobs executing under the same CPU.
Regards,
Abhaya |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Sun Dec 08, 2002 3:29 am Post subject: |
|
|
abhayasahoo,
The region size is the amount of storage in the user region available to the job, started task, or TSO/E user. The system uses region size to determine the amount of storage that can be allocated to a job or step when a request is made using the STORAGE or GETMAIN macros and a variable length is requested. The region size minus the amount of storage currently allocated, determines the maximum amount of storage that can be allocated to a job by any single variable-length GETMAIN request.
If no REGION parameter is specified, the system uses the REGION parameter specified on each EXEC statement. If no EXEC statement REGION parameter is specified, the system uses a job step installation default specified at JES initialization.If your installation does not change the IBM-supplied default limits in the IEALIMIT or IEFUSI exit routine modules, then specifying various values for the region size have the following results:
- A value equal to 0K or 0M -- gives the job all the storage available below and above 16 megabytes. The resulting size of the region below and above 16 megabytes is installation-dependent.
- A value greater than 0K or 0M and less than or equal to 16,384K or 16M -- establishes the size of the private area below 16 megabytes. If the region size specified is not available below 16 megabytes, the job abnormally terminates. The extended region size is the default value of 32 megabytes.
- A value greater than 16,384K or 16M and less than or equal to 32,768K or 32M -- gives the job all the storage available below 16 megabytes. The resulting size of the region below 16 megabytes is installation-dependent. The extended region size is the default value of 32 megabytes.
- A value greater than 32,768K or 32M and less than or equal to 2,096,128K or 2047M -- gives the job all the storage available below 16 megabytes. The resulting size of the region below 16 megabytes is installation-dependent. The extended region size is the specified value. If the region size specified is not available above 16 megabytes, the job abnormally terminates.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Mon Dec 09, 2002 2:13 am Post subject: |
|
|
A point to add is that if a job region size is given and an exec region size is given the exec region size is ignored - the job region size overrides. |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Mon Dec 09, 2002 9:02 am Post subject: |
|
|
As a sysprog, I have seen system problems when a pgm loops aquiring storage and the user has set REGION=0M. We discourage the use of 0M.
Regards,
Bill |
|
Back to top |
|
 |
nxn00 Beginner
Joined: 02 Dec 2002 Posts: 18 Topics: 0 Location: US
|
|
Back to top |
|
 |
abhayasahoo Beginner
Joined: 04 Dec 2002 Posts: 8 Topics: 6
|
Posted: Tue Dec 10, 2002 10:46 pm Post subject: |
|
|
Thanks for your replies.
Bill,
What system problems are encountered when one uses REGION=0M in all the jobs ? When all the jobs are coded with REGION=0M on the job card, does the system still allocate more than the required storage for the jobs ? |
|
Back to top |
|
 |
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Wed Sep 30, 2009 1:25 am Post subject: |
|
|
I'm reviving the mummies...but here is question left un-answered so thought to use my $ .02...hopefully I do not annoy anyone...
A value of 0K or 0M will allow the program to request the largest available region size, however this specification should be used with caution. From the OS/390 Initialization and Tuning Guide,
"The region size allowed to users can affect performance of the entire system. When there is no limit on region size and the system uses its default values, users might obtain so much space within a region (by repeated requests for small amounts of storage or a single request for a large amount) that no space would remain in the private area for system use. This situation is likely to occur when a program issues a request for storage and specifies a variable length with such a large maximum value that most or all of the space remaining in the private area is allocated to the request. If this program actively uses this large amount of space (to write tables, for example), it can affect central storage (also known as real storage) and thus impact performance." _________________ Regards,
Anuj |
|
Back to top |
|
 |
Bill Dennis Advanced

Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Sep 30, 2009 8:02 am Post subject: |
|
|
Anuj,
Thanks for reviving the mummy (that's a new one to me). I missed the question returned to me so many years ago. Glad you gave a response. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity. |
|
Back to top |
|
 |
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Wed Sep 30, 2009 10:43 am Post subject: |
|
|
Bill Dennis wrote: | Thanks for reviving the mummy (that's a new one to me). | Had excess of Hollywood-movies last night, Bill...
Quote: | I missed the question returned to me so many years ago. Glad you gave a response. | I was just searching around for something and got this thread, so, replied in. i'm just an application engineer not a sysprog, so I'd say -- The blind squirrel finds an acorn once in a while . . .  _________________ Regards,
Anuj |
|
Back to top |
|
 |
|
|