what is copybooks ? structure of copybook and fillers in copybook ? purpose of using copybook ?

Answers were Sorted based on User's Feedback



what is copybooks ? structure of copybook and fillers in copybook ? purpose of using copybook ?..

Answer / asad

A copybook is a section of code written in assembly
language or a high-level programming 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.

The term “copybook” may have originated from use of COBOL
on IBM mainframe operating systems: COPY is the COBOL
keyword for this, and the master item was stored as
a “book” within a larger library of source code.[1]

Major reasons for using COPYBOOKs in assembly language or
COBOL are to:

ensure that everyone uses the same version of a data layout
definition or procedural code.
make it easier to cross reference where components are used
in a system.
make it easier to change programs when needed (only one
master copy to change).
save programmer time by not needing to code extensive data
layouts (minor, but useful).

Is This Answer Correct ?    22 Yes 3 No

what is copybooks ? structure of copybook and fillers in copybook ? purpose of using copybook ?..

Answer / kumaran

copy book is nothing but it is a common library where one
or more persons can share the same data type it can be used
in cobol cics db2 and its main function is to use in the
db2 for declaring data types beyond that it acts as a back
up for the program so the programmers can use it different
times without andy change...

Is This Answer Correct ?    17 Yes 3 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

how can we repair a soc-7 error?

0 Answers   IBM,


What is the use of base and index registers in the IBM 360/370 processor?

0 Answers  


How to compare two files by using sort?

0 Answers  


Define clustered index?

0 Answers  


Write in brief about clusters?

0 Answers  






How to resolve SOC4 & SOC7 errors?

3 Answers  


hi provide info about any real time requirement in health care services mainframe applications bye ramya

2 Answers   ACS,


Can any one tell me that how we go for the compare,unit testing after changing requirement as per client request. this is very helpful for me when u give suitable (coading) exmple.

0 Answers   TCS,


What is COUNTERS in PL/1? How to assign the COUNTER variables? WHich Data Type it can be used for this?

2 Answers   Verizon,


execution of a subordinate module is caused by the use of the cobol verbs ------------in the superior module

0 Answers   IBM,


What is the difference between the mro & isc?

0 Answers  


What is the function of currentdata option in bind?

0 Answers  


Categories