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

How to complie once the COPYBOOK changed?


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

New User


Joined: 23 May 2006
Posts: 18

PostPosted: Sun Apr 22, 2007 12:16 pm
Reply with quote

Once the copybook has been changed then How to compile? What are the commands?
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: Sun Apr 22, 2007 8:50 pm
Reply with quote

Hello,

Just re-reun the compile using the same jcl used to compile the program previously.
Back to top
View user's profile Send private message
kak1981

New User


Joined: 19 Apr 2007
Posts: 6
Location: delhi

PostPosted: Mon Apr 23, 2007 12:50 pm
Reply with quote

If u changed it in endevor then generate the element again
other wise just compile the program again
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Apr 23, 2007 1:45 pm
Reply with quote

Hi,

If you are Changing / Editing the COPYBOOK , the source programs needs to be compiled for the changes to take effect.

So recompile the program with the exact compiling options(i.e) B.4 if the program is non db2 program and B.6 if it s cobol DB2 program.

Thanks,
Diwakar

----------------------------------
Nobody is Perfect. I am Nobody[/b]
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Tue Apr 24, 2007 4:45 pm
Reply with quote

Quote:
So recompile the program with the exact compiling options(i.e) B.4 if the program is non db2 program and B.6 if it s cobol DB2 program

Please dont give site specific solutions, it may not work everywhere. icon_smile.gif
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Tue Apr 24, 2007 5:24 pm
Reply with quote

hi agkshirsagar,

Thanks for your valuable feedback.

Just thought of sharing the options, which i am using right now.

May be you could have answered in different perspective, instead of wasting your time replying to my view, you could have suggested a way to Suresh to solve his problem.

Thanks,
Diwakar

--------------------------
Nobody is perfect. I am Nobody
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Apr 24, 2007 5:31 pm
Reply with quote

Quote:
May be you could have answered in different perspective, instead of wasting your time replying to my view, you could have suggested a way to Suresh to solve his problem.

Well, my vote goes to agkshirsagar. In my view he has made a valuable point that site specific responses are exactly that, site specific and as such do not apply to all sites.

How do you think that you might react to be told to use an option at your site, and that option does not exist ?

Once again, in my view, agkshirsagar's comment was both valid and constructive. And with your attitude, I will certainly think twice before answering any problems that you may post because I do not want to be moaned at for trying to be helpful !
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 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