2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

can we display comp-3 variables. if we want to display what we have to do . give me one example

6 Answers   CGI, Deloitte,


Why occurs can not be used in 01 level ?

2 Answers   TCS,


what is scope terminator

2 Answers   IBM,


suppose there is one PF having two members PF1 PF2.PF has one unique key Emp ID.could you tell me uniqueness in PF will be effective across members as well ? assume emp iD 3333 is in member PF1 would same Emp id be exist also in member PF2 ?

2 Answers   Tesco HSC, Wipro,


wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..

5 Answers   iGate,






What are differences between COBOL and java ? why we are giving more preference to COBOL ?

3 Answers   TCS,


What is LENGTH in COBOL II?

2 Answers   CSC,


a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?

2 Answers  


How many variables can be declared in w-s section.?

2 Answers  


Without using move verb how to move one variable to another.

5 Answers  


What is the reference modification.

2 Answers  


How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.

1 Answers   Syntel,


Categories