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

Recompiling programs after a copybook field is moved


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

New User


Joined: 01 Dec 2021
Posts: 1
Location: India

PostPosted: Wed Dec 01, 2021 1:49 pm
Reply with quote

Hi All,

There is a copybook with following definition

Initial:

01 Copybook-1

05 Field-A PIC X(10).
05 Field-B PIC X(5).
05 FILLER PIC X(485).

Change:

01 Copybook-1

05 Field-A PIC X(10).
05 Field-C PIC X(5).
05 Field-B PIC X(5).
05 FILLER PIC X(480).


Field-B and Field-C are not used by old programs. Does the change still require to recompile all the programs that are using the copybook.

Has anyone come across a situation like this before.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3049
Location: NYC,USA

PostPosted: Wed Dec 01, 2021 11:42 pm
Reply with quote

No.As they will continue to use older version used during the compilation.
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 Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts PD not working for unsigned packed JO... DFSORT/ICETOOL 5
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top