I have two input files
Input file1 like:
course name-------start date----- end date
course1-------------20110101----20111212
course2-------------20110501----20110512
course3-------------20091109----20111212
course4-------------20110508----20110815
Input file2:
student-----------------------date
student1--------------------20110101
student2--------------------20040101
student3--------------------20091109
student4--------------------20100101
student5--------------------20030101
My requirement is first i need to find the smallest value of the start date from the input file1 (in this case 20091109), then i need to select the records from input file2 which has the date greater than or equal to the smallest values found from the input file1-start date, and write in to the output file
So output file :
student1--------------------20110101
student3--------------------20091109
student4--------------------20100101
Can we do this without writing any cobol program...
Thanks in advance...
