I have an experiment in hand. I have a list of files with the same record structure which I need to open and perform the same task with.
My idea of going about this is as below:
1) Have an input parameter file that contains file locations along with file name. The record structure will be an X(80) and will contain data per row as:
2) Open the input file within my program, read first record, open the file mentioned and start my processing.
My query is regarding the mapping from Logical to physical file name as I am aiming that to be dynamic. Can I achieve this dynamicism in my program? Any other suggestion ? I would like my input paramter file to be dynamic?