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
How do you reference the following file formats from cobol programs?
In which area will you utilize 88 level items in cobol?
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between next sentence and continue in cobol programing language?
How many sections are there in data division in COBOL?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the difference between PIC 9.99 and PIC9v99?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
i want a program using by if, evaluate , string, unstring, perform, occurs?
) How do u handle errors in BMS macro?
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
) How do u handle errors in BMS macro
What is inspect in cobol ?
When is inspect verb is used in cobol?