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
 

 

Copy Library Size Limit

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Copy Library Size Limit
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    Post subject: Re: COPY LIBARY SIZE LIMIT
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    Post subject:
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    Post subject: Re: COPY LIBARY SIZE LIMIT
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    Post subject:
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    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 To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Limit CICS CPU resource vasanthz CICS 0 Tue Jan 31, 2017 7:09 am


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