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


Please Help Members By Posting Answers For Below Questions

Describe the cobol database components?

672


What is the local-storage section?

674


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

988


Name the divisions, which are available in a cobol program?

677


What is the LINKAGE SECTION used in COBOL?

885






What are the different rules to perform a Search?

613


How do you reference the fixed block file formats from cobol programs

697


What is the difference between PIC 9.99 and 9v99 in COBOL?

727


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1910


A table has two indexes defined. Which one will be used by the SEARCH?

750


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?

1796


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?

5364


how to refer the data field?

1797


Define cobol?

856


What is the Purpose of POINTER Phrase in STRING command in COBOL?

711