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


Please Help Members By Posting Answers For Below Questions

What is next sentence and continue unique?

576


Can min or max be used with alphanumeric data?

577


what is the meaning, the advantages and which are the types of evaluate statement?

584


Write the difference between hidam and hdam databases?

570


Where is the vsam ksds placed?

552






Can you define an alias?

581


Have you caused any huge mistakes for the bank?

516


When are scope terminators compulsory?

593


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

541


does anybody know about niit technologies ? how is that company ? any body working in that company ? please answer my question.I got selected in NIIT Technologies delhi.

2518


How are type 1 and type 2 indexes different?

580


What is meant by an isolation level?

572


Express the distinction between jes2 and jes3?

549


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

2271


Can you define notcat 2?

609