OK I resolved the file not found issue, now have new problem. Here is what I want to accomplish:
create an array of all the files to loop thru
take a diff of the files
write the output to a .txt flat file in unix.
what I have thus far: (old script)
diff ${REPORT_DIR}_db_dy_${ORACLE_SID}_a.dat ${REPORT_DIR}_db_dy_${ORACLE_SID}_b.dat > diffs.txt
I want to take these about 100 of these files and make an array and process all 100 of them in a ksh loop to separate reports in flat files. Can anyone help me with how to do this in a ksh script? Thanks!!