Jul 13, 2011, 10:07 PM
Re: [BillKSmith] How to put the data of two file into the third file in a different fashion
Thanks for your reply.
Actually I have three files. Here below are the formats of all these files.
First I have to search the 00927 (from the A.txt file) in the B.txt file. If it exists I have to update that row with the today date and the next number (200, it is some standard value) in the B.txt file. Then I have to prepare a command that include the 00876 from the C.txt file and write it to next file D.txt.
If it not exists in the B.txt file then I have to take the value 00937 form the A.txt file and update the B.txt files.
00937,14/07/2011,100 // like that
Command format: (This command I have to write in the D.txt file)
../bin/abcFor/ -t 00927 –r 00876
../bin/abcFor/ -t 00923 –r 00826
../bin/abcFor/ -t 00937 –r 00716
Hope this helps.
(This post was edited by mail4deveshg on Jul 13, 2011, 10:11 PM)