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

What are some uses of the evaluate statement?

0 Answers  


What is mainframe database?

0 Answers  


Can I redefine an x(100) field with a field of x(200)?

0 Answers  


What is the function of dbctl?

0 Answers  


What are the different types of table spaces?

0 Answers  






Why we use  "OCCUR"  with multiple occurence DS(Data Structure)?

1 Answers  


What is the use of a COPYBOOK in Fileaid ?

4 Answers   Steria,


how will you find a particular line in debugging if its a infinite loop

0 Answers  


What do you mean by monitor block?

0 Answers  


what is the meaning of ssrange and nossrange?

0 Answers   IBM,


Explain database descriptor in brief?

0 Answers  


by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?

0 Answers  


Categories