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
how do u start your process after conducting impact analysis ?
What is the function of dbctl?
What are some uses of the evaluate statement?
how would find total records in files using sequential?
Can you define spufi?
how do we describe cataloged procedure and an instream procedure?
Is the order of the when clause significant in an evaluate statement?
suppose I have two tables a and b. Both tables are connected with ssn number as foreign key. I want to retrieve a column data from b table. How will you write a query?
What is the difference between the mro & isc?
What will happen if both steplib and joblib are specified?
What is the facility that allows mainframes to be partitioned into lapars?
what u mean by csrloc and rtncsrloc in rpgIV in as/400.Give an eg? to do...give some coding...what is row no and column no ???..if possible...give a no of lines coding....please
suppose program A is calling program B, at a time A will send 100 records but it has to send 500 records. how it will possible?
What is drda ?
Explain foreign keys?