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 you can read the file from bottom?
What are the pertinent COBOL commands?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What is difference between static and dynamic call in cobol?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
how do you reference the fixed unblock file formats from cobol programs
how do you reference the variable block file formats from cobol programs
explain sorting techniques in cobol program?
State the various causes of s0c1, s0c5 and s0c7.
what is s000 u4087 error? please give the all error codes in cobol,jcl.
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is comp-1 and comp-2?
) How do u handle errors in BMS macro?