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
What is the difference between structured cobol programming and object alternativelyiented cobol?
How you can characterize tables in cobol?
what is difference between cobol and cobol/400
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
When is inspect verb is used in cobol?
What is a SSRANGE and NOSSRANGE?
Can a Search can be done on a table with or without Index?
What is a scope terminator give example?
) How do u handle errors in BMS macro?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Why occurs cannot be used in 01 level in COBOL?
In COBOL, what is the different between index and subscript?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc