Editing a Copybook - How to?

cobol interview questions

Moderator: Moderator Group

Post Reply
fredrick andrews
Member
Posts: 15
Joined: Thu Feb 23, 2012 6:55 am

Editing a Copybook - How to?

Post by fredrick andrews » Sat Feb 25, 2012 8:22 am

You have some changes to be made in a copybook.
Like adding a new field and renaming another field.

What all precautions should you take when doing this???

How will you proceed?

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Sat Feb 25, 2012 9:52 am

what would you do?
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

anu alexander
Member
Posts: 6
Joined: Fri Jul 05, 2013 7:52 pm

Post by anu alexander » Mon Jul 08, 2013 10:55 am

just give a search in program library to identify all the programs which uses this copybook.Then do a mass search whether any of them will use the field to be changed too.then change the programs accoringly. i mean name change ,record layout change etc.the do a recompile too for all the members which uses the copybook.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others