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
Describe the cobol database components?
What is the local-storage section?
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
Name the divisions, which are available in a cobol program?
What is the LINKAGE SECTION used in COBOL?
What are the different rules to perform a Search?
How do you reference the fixed block file formats from cobol programs
What is the difference between PIC 9.99 and 9v99 in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
A table has two indexes defined. Which one will be used by the SEARCH?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
how to refer the data field?
Define cobol?
What is the Purpose of POINTER Phrase in STRING command in COBOL?