The relation ship b/w middle lines can be achieved by +/-5000 logic.
I am explaining this for u in a simpler way. Assume evry thing i am mentioning below just suppose the numbers but the logic is the same we need to implement.
for suppose:
i/p1 file has O/P numer 1000
join2 has I/P number 5555 , O/P number 1111
reformat3 has I/P number 6666 , O/P number 2222
output has I/P number 7777
1.) Now we need to go like this comming frm i/p1 take 1000
2.) add 5000 which gives 6000
3.) now go to XXGFlow file search for line 6000
Quote:
{2010210004|XXGflow|35|0|69|0|{@{}@384|.5|.994955837726593|{12|207000|6000|227000|6000|2149000|6000|2149000|1069000|2159000|1069000|2180000|10555|}39469|17|}}
4.) So, from the XXGFlow file we will take 10555
5.) Substract 5000, 10555-5000=5555
6.) Go back to files search for 5555 , you will get it in join2 I/P number
7.) search in the same file (join2) for O/P number , u will get 1111
8.) add 5000 , 1111+5000 = 6111
9.) search in XXGFlow for 6111 and u got 11666
10.) substract 5000 , 11666-5000= 6666
11.) search for 6666 in our files u will get in reformat3
12.) now search for O/P number in reformat3, u will get 2222
13.) add 5000, 7222 . Search in XXGFlow , u got 12777.
14.) sub 5000 , u got 7777, search for 7777 in our files , it is Output_File
15.) job done.
Now in Input_File_f , we have
i/p1,join2,reformat3,output
Got it???
I just mentioned a small example , we can have n number of I/P files , many other files and may be more than one O/P files(im some cases we will have more than one O/P files).
So dude this is what i need.
I want u to be very clear abt this, bcz mostly dependent on u.
If u have still any doubts , come back to me.
Just for now get to know abt logic and then i'll tell u the key words for every number (I/P and O/P) and then we will try to figure it out.
I know it is a little bit difficult bcz even for me it took 1.5 month to figure it out. basically my need is:
I am working in Ab initio tool (some GE tool) , it stores every thing in unix.
Now i am in a situation to automate some thing , so i analysed how a gaph is stored in unix , how is it interpretating. At present we are now in the stage of scripting what i analysed and need.
Thanks a lot for ur patience