Max allocation in Linkage section

Shijoo (Cognizant) K

Max allocation in Linkage section
Hi,

Can anybody please let me know, what is maximum that we can allocate in
Linkage Section of a Cobol program.

Thanks,
Shijoo


-----Original Message-----
From: CEI, Bruno [mailto:[login to unmask email]
Sent: Monday, December 09, 2002 4:19 PM
To: [login to unmask email]
Subject: Certification exams at IDUG


Hi,

Has anybody taken certification exams at the recent IDUG Europe in Lisbon?
There has been a communication that they were free of charge, but I have
been debited, and no sign of my money back yet!

Bruno Cei
DBA Team Manager
Network & Infrastructure Solutions
Global Service Delivery
SchlumbergerSema
Phone 0044 1264 835523
Mobile 0044 7733 313051
Fax 0044 1264 835556



_________________________________________________________
This email is confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
SchlumbergerSema.
If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.

If you have received this email in error please notify the
SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
_________________________________________________________





Robert J. Milonas

Re: Max allocation in Linkage section
(in response to Shijoo (Cognizant) K)
http://search390.techtarget.com/ateQuestionNResponse/0,289625,sid10_cid485961_tax285603,00.html

"K, Shijoo (Cognizant)" <[login to unmask email]> wrote:

>Hi,
>
>Can anybody please let me know, what is maximum that we can allocate in
>Linkage Section of a Cobol program.
>
>Thanks,
>Shijoo
>
>
>-----Original Message-----
>From: CEI, Bruno [mailto:[login to unmask email]
>Sent: Monday, December 09, 2002 4:19 PM
>To: [login to unmask email]
>Subject: Certification exams at IDUG
>
>
>Hi,
>
>Has anybody taken certification exams at the recent IDUG Europe in Lisbon?
>There has been a communication that they were free of charge, but I have
>been debited, and no sign of my money back yet!
>
>Bruno Cei
>DBA Team Manager
>Network & Infrastructure Solutions
>Global Service Delivery
>SchlumbergerSema
>Phone 0044 1264 835523
>Mobile 0044 7733 313051
>Fax 0044 1264 835556
>
>
>
>_________________________________________________________
>This email is confidential and intended solely for the use of the
>individual to whom it is addressed. Any views or opinions presented are
>solely those of the author and do not necessarily represent those of
>SchlumbergerSema.
>If you are not the intended recipient, be advised that you have received
>this email in error and that any use, dissemination, forwarding, printing,
>or copying of this email is strictly prohibited.
>
>If you have received this email in error please notify the
>SchlumbergerSema Helpdesk by telephone on +44 (0) 121 627 5600.
>_________________________________________________________
>
>
>
>
>
>

__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/



Agus Kwee

Re: Max allocation in Linkage section
(in response to Robert J. Milonas)
Shijoo,

Following are what I found out about Cobol Linkage maximum sizes
using Cobol for OS/390 versin 3.10 ( PP 5655-653):
1. Maximum size for a 01 level data is: 16777215 bytes.
2. Maximum size for all data in the Linkage Section is supposed to
be 128 Megabytes (according to the compiler error message) or
134217727 according to the manual.
In practice I received an error message indicating exceeding
128 MB when the total bytes was 134140005, but I successfully
compiled when the total bytes was 134139505. So the max limit
is somewhere between those 2 values.
Even though the maximum size of all Linkage Section data is around
134 million bytes, you can still use use to access data that is larger
than this size.
What you should do is to obtain the address of the beginning of the
data ( the first 16777215 bytes) in the first ADDRESS Of special
register of the first 01 data in your Linkage Section.
With the help of a pointer-field with usage is POINTER and redefining
it with binary- field with picture S9(9) binary, you can set the ADDRESS
OF special registers of the subsequent 01 data (each of them 16777215
bytes) with the SET ADDRESS OF dataname TO pointer-field ,
which value you update by incrementing the binary-field by 16777215.
This now allows you to 'access' or 'see' the first 134 million bytes of
your linkage section data. You now can 'scroll forward' and access the
next 134 million bytes of your data by incrementing each of your
ADDRESS OF special registers by 134 million.

Agus Kwee
Themis Training