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: 2901
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 Expand ISPF field up to a limit - is ... TSO/ISPF 9
No new posts Need to add field to copybook, proble... COBOL Programming 14
No new posts How to remove DECIMAL POINT (.) from ... SYNCSORT 10
No new posts Using PARM=('JPn"&SYMBOL&quo... DFSORT/ICETOOL 2
No new posts Need to validate the field using cobol COBOL Programming 4
Search our Forums:

Back to Top