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

explain sorting techniques in cobol program?

692


How can you get the ksds file records into your cobol program?

644


Define cobol?

866


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?

6837


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

1000






What is the difference between comp and comp-3?

704


What are literals?

632


Write a cobol program making use of the redefine clause.

739


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1657


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1949


What is rmode(any) ?

686


what is amode(24), amode(31), rmode(24) and rmode(any)?

705


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

681


What rules are to be followed while using the corresponding options?

641


In COBOL, what is the different between index and subscript?

763