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 the binary search?

533


In a test environment, is there a need to run a runstats?

544


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

568


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.

2504


Tandem COBOL Interview questions (on TACL,SCOBOL,ENSCRIBE,PATHWAY0

22786






What is mainframe computer /system?

580


Can min or max be used with alphanumeric data?

561


How do you find whether any generations exist under a gdg base?

549


What is database descriptor?

562


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

2259


State the maximum value up to which volumes can be inserted to an stogroup?

595


How is next sentence and continue different?

546


When do you get -811 sqlcode and how to resolve it?

510


What is difference between static call and dynamic call?

542


What do you mean by an alias?

516