this is my first cobol project(batch), there are 6 master files(tax2003,tax2004, tax2005,
tax2006,tax2007,tax2008) need to be the same process as following:
reading all master files which are the same structure, and then
process the records meet criteria for each master file. the last
get counts which meet special criteria.
I have 2 idea for mutiple input files:
1: in Cobol, loop 6 times, each time process one input file,
at last, write the total counts to a output file.
2: using jcl, at first combine all 6 input files into a big input file,
and then just process the big input file in COBOL.
I have no experience for mainframe, I'm not sure above is correct, they
will work well or won't work, could you tell me one better choice you
know? I appreciate your help.