Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is the Length of Linkage section?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: What is the Length of Linkage section?
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Feb 02, 2010 3:19 pm    Post subject:
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    Post subject:
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    Post subject: Reply to: What is the Length of Linkage section?
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    Post subject: Reply to: What is the Length of Linkage section?
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: 7913
Location: Bellevue, IA

PostPosted: Tue Feb 02, 2010 3:58 pm    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Tue Feb 02, 2010 4:12 pm    Post subject:
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    Post subject: Re: Reply to: What is the Length of Linkage section?
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

Senior Member


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

PostPosted: Tue Feb 02, 2010 4:35 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Feb 02, 2010 5:14 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Feb 02, 2010 5:19 pm    Post subject: Reply to: What is the Length of Linkage section?
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    Post subject:
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    Post subject:
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.

http://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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Tue Feb 02, 2010 6:46 pm    Post subject: Reply to: What is the Length of Linkage section?
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: 7913
Location: Bellevue, IA

PostPosted: Tue Feb 02, 2010 6:51 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SQZ pipe delimited file with 1 column... Rick Silvers DFSORT/ICETOOL 2 Sun Nov 06, 2016 8:11 pm
No new posts Joinkeys operation when key1 and key2... Susanta DFSORT/ICETOOL 5 Wed Nov 02, 2016 5:35 pm
No new posts Format to pipe delimited with variabl... pshongal SYNCSORT 6 Wed Sep 14, 2016 2:48 pm
No new posts File Manager with Variable Length File ahabib IBM Tools 10 Thu Mar 31, 2016 11:00 pm
No new posts How to copy data with delimters to fi... Venkata Ramayya DFSORT/ICETOOL 2 Wed Feb 24, 2016 10:03 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us