Is there any difference between Region=0M and Region=0K ?
-
- New Member
- Posts: 7
- Joined: Mon Apr 28, 2014 4:12 pm
Is there any difference between Region=0M and Region=0K ?
Hi,
Is there any difference between Region=0M and Region=0K ? Is not it that in both the cases the all available storage will be allocated to the job or step?
Then is there any difference at system level?
Is there any difference between Region=0M and Region=0K ? Is not it that in both the cases the all available storage will be allocated to the job or step?
Then is there any difference at system level?
- Robert Sample
- Global Moderator
- Posts: 1898
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Is there any difference between Region=0M and Region=0K
If you check the JCL Reference manual, the syntax indicates 0K and 0M are the same.
-
- New Member
- Posts: 7
- Joined: Mon Apr 28, 2014 4:12 pm
Re: Is there any difference between Region=0M and Region=0K
So they are just same way of saying the same thing (to the system)?
-
- New Member
- Posts: 7
- Joined: Mon Apr 28, 2014 4:12 pm
Re: Is there any difference between Region=0M and Region=0K
Actually, I read an online discussion eles where and someone in there states like this:
Isit really true!REGION=0K requests only one-thousandth as much as REGION=0M. In some of my JCL members, I use variously REGION=0M or REGION=00M. I have JCL tailoring scripts that treat the constructs differently and substitute different non-zero values for the two.
Sometimes I substitute REGION=16385K to allow allocating storage above-the-line, but not very much.
-
- Global Moderator
- Posts: 832
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Is there any difference between Region=0M and Region=0K
If you check the JCL Reference manual, the syntax indicates 0K and 0M are the same.
wasn' t the reply clear enough ?So they are just same way of saying the same thing (to the system)?
wasn' t the manual clear enough ?
and why bother with somebody else incompetent ramblings ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- Robert Sample
- Global Moderator
- Posts: 1898
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Is there any difference between Region=0M and Region=0K
The manual makes it clear that whoever you quoted is completely and totally WRONG:
And you should not be using either without direction from your site support group -- there can be system issues with REGION=0M/K.
REGION=0K and REGION=0M allocate precisely the SAME amount of storage. And both of them allow use of storage above the line as well as below the line.| value=0M or 0K
| A value equal to 0K or 0M -- gives the step all the storage available
| below and above 16 megabytes. The resulting size of the region below
| and above 16 megabytes depends on system options and what system
| software is installed. When REGION=0K/0M is specified, the MEMLIMIT
| is set to NOLIMIT.
| Note: This may cause storage problems. See the Considerations When
| Using the REGION parameter section for more information.
And you should not be using either without direction from your site support group -- there can be system issues with REGION=0M/K.
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Is there any difference between Region=0M and Region=0K
The original gibberish is actually from IBM-MAIN :-)
Note the prescient comment later:
Note the prescient comment later:
I picture a newbie searching google or the archives in the future being
very confused by this thread. :-)
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
- Anuj Dhawan
- Founder
- Posts: 2807
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Is there any difference between Region=0M and Region=0K
Rightly said, William. And I'm still trying to understand the statement there about 0 Petabytes!
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
-
- Global Moderator
- Posts: 490
- Joined: Sun Aug 25, 2013 7:24 pm
Re: Is there any difference between Region=0M and Region=0K
Zero is zero, no matter what the units. The guy saying 0K is 1000 times smaller than 0M is being silly (it isn't even 1024 times smaller). Taking that "logic", zero petabytes is big, but of course it isn't.
In this case, zero doesn't even mean zero. Zero means "I'm not limiting the memory my program requires, give it all available" which is not necessarily such a good idea. The gibberish post is so full of rubbish, it is not worth pulling apart.
In this case, zero doesn't even mean zero. Zero means "I'm not limiting the memory my program requires, give it all available" which is not necessarily such a good idea. The gibberish post is so full of rubbish, it is not worth pulling apart.
- Anuj Dhawan
- Founder
- Posts: 2807
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Is there any difference between Region=0M and Region=0K
I do agree, William.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute