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


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

761


What is perform what is varying?

805


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

805


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

806


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

850






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?

5496


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

752


In COBOL programming, what is PERFORM? What is VARYING?

755


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

834


What is the difference between binary search and sequential search?

731


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

1782


Difference between cobol and cobol-ii?

821


What is an in line perform? When would you use it? Anything else you wish to say about it.

739


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

797


Why occurs cannot be used in 01 level in COBOL?

809