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

Explain the meaning of spufi?

582


Write the difference between hidam and hdam databases?

568


What is inspect and what is it used for?

536


What is the maximum value that can be stored in s9(8) comp?

615


10. Why mainframe testing is so important? Give any three advantages of Mainframe Testing?

3055






by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?

1794


What are the mainframe computing pros and cons?

625


What is the term “where” for?

556


Explain a linkage segment

547


Tell me abt any another framework which is challening for Ibm framework

1641


What is the importance of common attribute?

587


we cant write data into file using cl program then what is sndf

1211


how to display the negative numbers?

1769


What is next sentence and continue unique?

572


What is a configuration management system, give examples?

511