In A cobol program , we can use COPY Statement in FILE-
SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION
basically what is the difference
Answer Posted / suresh ramaiyan
There is no difference.
COPY statement just copy all the lines from the copybook
into the source code.
When we feel some piece of codes are used repeatly then we
can code it into the copylib.
So, it is in our hand where to use COPY.
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is perform what is varying?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is the difference between PIC 9.99 and 9v99 in COBOL?
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?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the difference between binary search and sequential search?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
Difference between cobol and cobol-ii?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Why occurs cannot be used in 01 level in COBOL?