what is copybooks ? structure of copybook and fillers in copybook ? purpose of using copybook ?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between inrec and outrec?
What is the function of dbctl?
If JOBA is in MSGW due to data decimal error and DUMP is generated and I found that Decimal field formatted with some special char which is coming from Input file amd file has millions of records. How I can find out on which record the error is occur. Please share your experience.....
What is RRange and ARange?
what is the other verb for release and write ?
what optimum values can we find for freespace, ci etc?
Can you define spufi?
what sorting order does search all have?
what is the right time for using in-line perform?
which is more efficient, level 77 or 01?
When the job statement is used?
Can we give +2 instead of +1 while creating a new gdg file?
how do we prepare test data using file-aid tool?
What is downtime and what might be the reason?
What is the difference between the mro & isc?