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

Can records be accessed randomly in esds?

0 Answers  


have you ever know what is the meaning of Packed Decimal  

0 Answers  


can any one exaplin about Decision Tables in test region with good example

0 Answers   TCS,


Is therE anybody who knows about TICKLER FILE of RM.??thank you

0 Answers  


hi.... anybody send real time project related questions & answers whatever will ask in interview plz.....help me? advanced thanks....

0 Answers  






Explain delete-connected tables?

0 Answers  


What is drda ?

0 Answers  


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

0 Answers  


by using xpeditor if i want to debug the sub pgm ? how canu code in xped for main pgm and sub pgm ? wht is the debugging process ?

1 Answers   Syntel,


suppose if you added a coloumn to db2 table, How would it be the Impact analysis?

0 Answers  


What is use of IBM framework?

0 Answers   IBM,


How to declare host variables?

0 Answers  


Categories