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: 2963
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 S0C7 - Field getting overlayed COBOL Programming 2
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
This topic is locked: you cannot edit posts or make replies. Construct new record using specific f... DFSORT/ICETOOL 6
No new posts Count the number of characters in a f... CA Products 1
No new posts Find the occurrence of Key Field (Par... DFSORT/ICETOOL 6
Search our Forums:

Back to Top