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

Copy Library Size Limit


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

New User


Joined: 29 Jul 2005
Posts: 18

PostPosted: Wed Mar 22, 2006 12:23 pm
Reply with quote

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

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Wed Mar 22, 2006 11:40 pm
Reply with quote

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

New User


Joined: 29 Jul 2005
Posts: 18

PostPosted: Thu Mar 23, 2006 10:00 am
Reply with quote

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

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Mar 23, 2006 8:01 pm
Reply with quote

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

New User


Joined: 29 Jul 2005
Posts: 18

PostPosted: Fri Mar 24, 2006 4:58 pm
Reply with quote

Thanks a lot for your suggestions.

I shall try out 1 or 2 options.


Cheers
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 VB to VB copy - Full length reached SYNCSORT 8
No new posts Calling an Open C library function in... CICS 1
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
Search our Forums:

Back to Top