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
What is amode(24)?
What is the difference between next sentence and continue in cobol programing language?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Define static linking and dynamic linking.
) How do u handle errors in BMS macro?
Explain how you can characterize tables in cobol?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Are you comfortable in cobol or jcl?
how do you reference the variable unblock file formats from cobol programs
how do you reference the printer file formats from cobol programs
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
explain sorting techniques in cobol program?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
how do you reference the esds vsam file formats from cobol programs