what do you mean by copybook? and what is the difference
between the copybook which we are using in working storage
and procedure division.
Answer Posted / michealraj. g
There are two types of copybooks: 1. Working storage
copybook 2. Procedure division copybook
1. Working Storage copybook: It contains the input or
output fields names with the field definitions like type or
length of the fields. Instead of defining so many variables
in the WS section, we can have it in a separate file like
thing. It is also useful in mapping the I/P or O/P records
with the specific fields.
2. Procedure Division copybook: It contains set of COBOL
statements in order to execute it at a particular time. It
acts as a sub-program.
Is This Answer Correct ? | 21 Yes | 1 No |
Post New Answer View All Answers
explain sorting techniques in cobol program?
How can you get the ksds file records into your cobol program?
Define cobol?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is the difference between comp and comp-3?
What are literals?
Write a cobol program making use of the redefine clause.
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
What is rmode(any) ?
what is amode(24), amode(31), rmode(24) and rmode(any)?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What rules are to be followed while using the corresponding options?
In COBOL, what is the different between index and subscript?