I have the requirement to compare the two files and pick up
the matching records.
File 1. file2
23 32
32 13
34 15
35 36
36 35
43
Get the matching records from this 2 files to out file. how
you will do this in cobol program?
Answer Posted / pradeep
read all the records of file1 and load into array
read the record of second file one at a time and search for
the value in the array(table) using search
if the value of the file matches with the value in the table
then write that record to output file
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Can you please let me know the centre name of INS certification in Kolkata.
Write the code to count the sum of n natural numbers.
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
What is amode(24)?
What are literals?
What are various search techniques in cobol? Explain.
Can we change the password using ALTER? anyone tried and changed?
What are the different types of condition in cobol and write their forms.
How do you get the data to code the BMS macro?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the different rules to perform a Search?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Which division and paragraphs are mandatory for a COBOL program?