View previous topic :: View next topic |
Author |
Message |
Shankarganesh_gopal Beginner
Joined: 24 May 2005 Posts: 36 Topics: 20 Location: chennai
|
Posted: Mon Apr 09, 2007 3:23 am Post subject: Replacing the data from Another File |
|
|
Hi all,
I need a help.
I have two Input file. One has data with Header that contains date and aonther file has file name in it. I want to take the date from Header from file1 and append to the File name that Presents in File2. Could you please help me to resolve this issue.
Input File1:
11111111111;20070403;20061109;070000;CD;pacs.xxx.dta.gb
Input File2:
REMOTE_USER=mtnsftp
MODE=ASCII
REMOTE_FILE=./TRANSFER/IG3956_E302&CYYYY.&CMM
LOCAL_FILE=/scp/out/ig3956_e003
Now I want to replace &CYYYY.&CMM in File2 with '200704' present in File1.
Thanks,
Shankar |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12382 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
|
|