There are two flat files one having 10 records and other
having 5 records. write a cobol pgm to find the duplicate
records(matching records)from both files.
Answer / talluri
perform 10 times
read file1
perform 5 times
read file2
if file1rec = file2rec
write file1rec to file3rec
end-if
end perform
end perform.
| Is This Answer Correct ? | 5 Yes | 1 No |
What is cobol?
give the examples of strings in cobol
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
wht is load module and object module ?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What type of SDLC u followed? Why?
ID DIVISION. PROGRAM-ID. PLO. DATA DIVISION. WORKING-STORAGE SECTION. 01 VAR1 PIC 9(2). 01 VAR2 PIC X(2). PROCEDURE DIVISION. ACCEPT VAR2. MOVE VAR2 TO VAR1. STOP RUN. if i give 'PI' in var2 then what will b output of progr. any abend?????
db2 variable decimal(15,2) what is the equalent size of cobol variable
Explain how you can characterize tables in cobol?
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
What R 2 of the common forms of the EVALUATE STATEMENT ?
What does the initialize statement do ?