what is copybooks ? structure of copybook and fillers in copybook ? purpose of using copybook ?
Answers were Sorted based on User's Feedback
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 |
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 |
What are some uses of the evaluate statement?
What is mainframe database?
Can I redefine an x(100) field with a field of x(200)?
What is the function of dbctl?
What are the different types of table spaces?
Why we use "OCCUR" with multiple occurence DS(Data Structure)?
What is the use of a COPYBOOK in Fileaid ?
how will you find a particular line in debugging if its a infinite loop
What do you mean by monitor block?
what is the meaning of ssrange and nossrange?
Explain database descriptor in brief?
by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?