Mainframe question

What is mean by copybook? Where it is used? Why it is used?

[Answer]: A copybook is a section of re-usable code, written in a high-level programming language or assembly language, that can be copied (from a master) and inserted into several different programs (or multiple places in a single program). It is often used to define the physical layout of program data, pieces of procedural code and prototypes.

Is this the right answer. Is there anything which is required to be added.

KaranGuptaAsked:
Who is Participating?
 
David_HagermanConnect With a Mentor Commented:
Here is a little more info
http://www.learnthat.com/define/view.asp?id=4038

otherwise no you have cover the definition well
0
 
woolmilkporcConnect With a Mentor Commented:
One could add that we're talking about source code here, as opposed to compiled code.

Consequently, calls for copy books (COPY or INCLUDE etc.) are placed inside the source code of a program and the respective code is merged into the code at compile time, whereas compiled code is linked to the main routine by the linkage editor at link time.

wmp

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.