View previous topic :: View next topic
|
Author |
Message |
KMK
New User
Joined: 29 Jul 2005 Posts: 18
|
|
|
|
We are encountering a problem while compiling a old COBOL code.
It has got many copybooks around 25.
The compiler error is
LIBRARY BLKSIZE EXCEEDS 16K. IGNORING COPY.
It is ignoring to include copybooks hence the variables are not declared hence getting errors for all the variables within the copybook.
It is a CICS program and we are trying to compile using Endevor.
Is the compiler has 16K limit for COPY library ? Are there any compiler options to change it ?
How to overcome this problem ? |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
KMK,
What version COBOL Compiler are you using? Pre COBOL II? Check the version on the listing.
For COBOL II/Enterprise COBOL the COPY lib blksize limit is 32,767
COBOL II COMPILER LIMITS
Our COBOL COPY libraries have a blocksize of 16,000. I believe this was the limit on some of the older compilers. We still have some pre COBOL II programs around that have not been converted and keep the old COMPILER versions around (just in case).
Dave |
|
Back to top |
|
|
KMK
New User
Joined: 29 Jul 2005 Posts: 18
|
|
|
|
Thanks Dave for your information.
The COBOL compiler is
COMPUWARE COBOL PROCESSOR - RELEASE 07.06.00
and it is VS COBOL and written in 1986
so as you said there could be 16K limit for the Cobol library.
Can you suggest me how can i compile this now ?
Do i have to get the older version compiler to compile this ? Or anyother way i can do ?
Cheers, |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
KMK,
I really see only three viable option for this.
The best would be to convert the code to current standards. This really is not a major task. And then you can use the resent compilers.
another is to put the code only into Endevor and then do a free standing compile/link edit. You will have to create a copy library at blksz=16000 and move all of the copybooks the program uses to this library.
The third option is to have the Endevor people reallocate the copy libraries at blksz=16000.
Best of luck,
Let us know what direction you go in
Dave |
|
Back to top |
|
|
KMK
New User
Joined: 29 Jul 2005 Posts: 18
|
|
|
|
Thanks a lot for your suggestions.
I shall try out 1 or 2 options.
Cheers |
|
Back to top |
|
|
|