In A cobol program , we can use COPY Statement in FILE-
SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION
basically what is the difference

Answer Posted / kanika

yes we can copy it any where basically it will copy the
line of code mentioned in another source program.

Is This Answer Correct ?    4 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between binary search and sequential search?

854


State the various causes of s0c1, s0c5 and s0c7.

843


Name some of the examples of COBOl 11?

2882


Describe the cobol database components?

886


What is comp-1 and comp-2?

936


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

846


What is amode(24)?

884


Have you used comp and comp-3 in your project? And how?

2205


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

842


) How do u handle errors in BMS macro?

1620


What is the difference between PIC 9.99 and PIC9v99?

1036


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

987


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

11520


what are decleratives in cobol?

2002


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1820