|For now, lets forget about the total. I am just so lost. |
Back to 2): Need to make sure header and trailer match.
In header - need to match if the current date is what's in the HDR row (20090617) and name of the file is what we are reading from (which is a2).
In trailer - Need to make sure total # of rows match what's in the file.
a2.csv file looks like this:
DO I need python for this? If not, what should be in .bat file. If this is doable in .bat file, please ignore the rest of the Questions.
If need python then please read:
Starting from scratch what do I need to do.
This is what I have:
1) Need to create a .bat file. Inbound.bat is like this:
2) what should be in inbound.py?
If header and trailer matches then cut the header and trailer from the file and save the file as new file a2new.csv.
Please send this to me ASAP. I tried a few things nothing is working. Also, python inbound.py does not work.