what is copybooks ? structure of copybook and fillers in copybook ? purpose of using copybook ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kumaran
copy book is nothing but it is a common library where one
or more persons can share the same data type it can be used
in cobol cics db2 and its main function is to use in the
db2 for declaring data types beyond that it acts as a back
up for the program so the programmers can use it different
times without andy change...
| Is This Answer Correct ? | 17 Yes | 3 No |
How joinkeys helps in sort?
What is the mainframe computer?
What is meant by comp-3 and what is it used for?
How is manual testing done in MF environment? what all are the steps to follow?
Can records be accessed randomly in esds?
how do we describe static call and dynamic call?
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
What is the facility that allows mainframes to be partitioned into lapars?
Can you define an alias?
Write in brief about clusters?
what is use of linkage section?
IF a file has 10-members how do you process all of them? using CL& USING RPG?