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

What is the Length of Linkage section?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kris22_24

New User


Joined: 28 Oct 2006
Posts: 18

PostPosted: Tue Feb 02, 2010 3:16 pm
Reply with quote

What is the Length of Linkage section?
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Feb 02, 2010 3:17 pm
Reply with quote

What do you mean by length of section?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Feb 02, 2010 3:19 pm
Reply with quote

The linkage section has to be as long as the parameterlist of the caller.
Back to top
View user's profile Send private message
kris22_24

New User


Joined: 28 Oct 2006
Posts: 18

PostPosted: Tue Feb 02, 2010 3:19 pm
Reply with quote

Sambhaji wrote:
What do you mean by length of section?


Say its size.
Back to top
View user's profile Send private message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Tue Feb 02, 2010 3:40 pm
Reply with quote

It would be good if you tell the forum about the problem you are facing.
Back to top
View user's profile Send private message
tomehta

New User


Joined: 18 Aug 2008
Posts: 98
Location: India

PostPosted: Tue Feb 02, 2010 3:56 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Feb 02, 2010 3:58 pm
Reply with quote

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
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Feb 02, 2010 4:12 pm
Reply with quote

Linkage section
Total size
134,213,631 bytes
Back to top
View user's profile Send private message
kris22_24

New User


Joined: 28 Oct 2006
Posts: 18

PostPosted: Tue Feb 02, 2010 4:19 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Feb 02, 2010 4:35 pm
Reply with quote

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

New User


Joined: 28 Oct 2006
Posts: 18

PostPosted: Tue Feb 02, 2010 5:01 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Feb 02, 2010 5:14 pm
Reply with quote

Kris - Please don't take it to heart, I'm not discouraging you or anyone, probably you missed the first line of my post...icon_smile.gif.

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...icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 02, 2010 5:19 pm
Reply with quote

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 icon_cool.gif
Back to top
View user's profile Send private message
Mukesh Pandey

Active User


Joined: 11 Nov 2008
Posts: 143
Location: India

PostPosted: Tue Feb 02, 2010 5:44 pm
Reply with quote

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 icon_smile.gif
Back to top
View user's profile Send private message
tomehta

New User


Joined: 18 Aug 2008
Posts: 98
Location: India

PostPosted: Tue Feb 02, 2010 6:34 pm
Reply with quote

Hi All
from the link, now we know the limit is 134,213,631 (128MB). But how do we arrive at this magic number.

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IGY3LR50/APPENDIX1.2?DT=20090821081020
does it has any dependency on number of bits in the processor ?

regards
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Feb 02, 2010 6:46 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Tue Feb 02, 2010 6:51 pm
Reply with quote

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
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts VB to VB copy - Full length reached SYNCSORT 8
Search our Forums:

Back to Top