View previous topic :: View next topic
|
Author |
Message |
kris22_24
New User
Joined: 28 Oct 2006 Posts: 18
|
|
|
|
What is the Length of Linkage section? |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
What do you mean by length of section? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
The linkage section has to be as long as the parameterlist of the caller. |
|
Back to top |
|
|
kris22_24
New User
Joined: 28 Oct 2006 Posts: 18
|
|
|
|
Sambhaji wrote: |
What do you mean by length of section? |
Say its size. |
|
Back to top |
|
|
Mathiv Anan
Active User
Joined: 23 Jul 2008 Posts: 106 Location: USA
|
|
|
|
It would be good if you tell the forum about the problem you are facing. |
|
Back to top |
|
|
tomehta
New User
Joined: 18 Aug 2008 Posts: 98 Location: India
|
|
|
|
I guess the question is ' what is the maximum length of linkage section, that z/os system allows '
Am i right Kriss ? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Your question is almost completely incomprehensible as stated. A restatement would really help. When talking about linkage section, you are really talking about a calling program and the subprogram -- so which are you referring to in your question?
For the local program, the length of the linkage section will always be zero. Linkage section is used to access data passed from another program -- or JCL -- and therefore there is no storage reserved in the subprogram for linkage section variables. The storage comes from the calling program (or the system area for JCL parameters), not the local subprogram. |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
kris22_24
New User
Joined: 28 Oct 2006 Posts: 18
|
|
|
|
tomehta wrote: |
I guess the question is ' what is the maximum length of linkage section, that z/os system allows '
Am i right Kriss ? |
Yes |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
It's not to hurt anyone/someone but I'm not sure about the essence of such question(s) - and without comprehensive details of the problem I always wonder about the essence and the reason behind such questions...and I usually want to put a question - why are you asking? What made you to think about the limits? Did you try something and it failed just because of "limits”?
In my small experience, I've never worked on such a program where I had to ask myself , the very first question, what is the limit of something...fwiw. |
|
Back to top |
|
|
kris22_24
New User
Joined: 28 Oct 2006 Posts: 18
|
|
|
|
Anuj Dhawan wrote: |
It's not to hurt anyone/someone but I'm not sure about the I always wonder about the essence and the reason behind such questions...and I usually want to put a question - why are you asking? What made you to think about the limits? Did you try something and it failed just because of ‘limits”?
In my small experience, I've never worked on such a program where I had to ask myself , the very first question, what is the limit of something...fwiw. |
Hi anuj,
Dont u ever think that posting such type of questions with out any reason, Here i have to clarify why i have posted this question, coz as this is a forum i think i can ask any type of doubt which i face in the scenario.
And my sincere request to Anuj please dont discourage the people who are posting there doubts in this kind of forums
If you know the answer , here i am ready to learn from you but please dont make such type of comments "essence of such question(s) - and without comprehensive details of the problem" |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Kris - Please don't take it to heart, I'm not discouraging you or anyone, probably you missed the first line of my post....
If you have a question ask away, no boundations - though curious and helping minds would always like to know the "origin" of question...and something which will help you also in long run (the curiocity).
Have a good one and don't get disappointed... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
What is the Length of Linkage section? |
also a better wording would have saved a lots of posts
the way the original question was posed deserved just a simple answer...
depends on what you have specified in it
if You want good answers start by posting good(*) questions
(*) properly worded and not ambiguos
simply adding one word maximum for example would have clarified properly what You wanted to know
and the reply would have been ... click on the manual link at the top of the page |
|
Back to top |
|
|
Mukesh Pandey
Active User
Joined: 11 Nov 2008 Posts: 143 Location: India
|
|
|
|
Anuj ..... ur words are very true. we should first approach the practicality of the question rather than going in theoretical. Either in job or in interview.. practiacal questions are more fired rather than theoretical questions.
u are a senior member having rich knowledge and lots to learn from you |
|
Back to top |
|
|
tomehta
New User
Joined: 18 Aug 2008 Posts: 98 Location: India
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
does it has any dependency on number of bits in the processor ? |
no, it' s just one of the many decisions taken by some committee |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
from the link, now we know the limit is 134,213,631 (128MB). But how do we arrive at this magic number. |
IBM provides the number; the only way to find out where, exactly, it came from would be to talk to them (if they will tell you). It is exactly 4K and 1 less than 128 megabytes. |
|
Back to top |
|
|
|