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

Copybook is not expanding while compiling in Endevor.


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Sat Dec 04, 2010 12:26 pm
Reply with quote

Hi All,

I have moved changed copybook to the stageing library and now i am moving my program to the staging library. But program failed in compilation for the new fields, which i have included in the program.

Program is not recognizing the new fields and picking old version of copybook. I have include statement in the program for the copybook as below.

Code:
----+----1----+----2----+----3----+----4----+----5----+--
      *                                                 
       *                                                 
           REPLACE ==:CZCMF034:== BY ==CCALC==.         
      *                                                 
       01  MY-MESSAGE.                                   
         10  COMM-CALC-REC.                             
       ++INCLUDE CZCMF034                               
      *                                                 
           REPLACE OFF.                                 

Your help is appriciated...
Thanks..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Dec 04, 2010 12:47 pm
Reply with quote

Hello,

If the compile is still using the "old" copybook, the new copybook is not in the library being used by the compile.

You need to talk with youe Endevor and/or compiler support to learn what you need to do. It will most likely be specific to your environment and they will know.
Back to top
View user's profile Send private message
Amsar

New User


Joined: 26 Sep 2008
Posts: 84
Location: Chennai

PostPosted: Sat Dec 04, 2010 1:08 pm
Reply with quote

Hi Dick...


That is the issue new copybook is there in the library.. Still it's picking the old one....
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Dec 04, 2010 1:20 pm
Reply with quote

that' s what You think, ( where You put the copybook is the right library )
but You should try to see things from Endevor point of view!

again... work with Your support
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Dec 04, 2010 1:32 pm
Reply with quote

Hello,

I suspect the new copybook is in some library but it is not the library that the compile is using.

As i said before and Enrico mentions - work with your support. . .
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Trying to change copybook in online c... CICS 4
No new posts Help to Filter File Manager Copybook ... DFSORT/ICETOOL 14
No new posts Need to add field to copybook, proble... COBOL Programming 14
No new posts Recompiling programs after a copybook... COBOL Programming 1
Search our Forums:

Back to Top