Hi,
Can any one help me how to concatenate the text files in datastage without using CAT command.
CAT Command
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 16
- Joined: Thu Jul 26, 2007 12:38 pm
-
- Participant
- Posts: 467
- Joined: Tue Mar 20, 2007 6:36 am
- Location: Chennai
- Contact:
You can use the funnel stage for this.
Minhajuddin
<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
-
- Participant
- Posts: 16
- Joined: Thu Jul 26, 2007 12:38 pm
-
- Participant
- Posts: 147
- Joined: Sat Apr 30, 2005 1:23 am
- Location: Bangalore,India
You can still use two jobs, one overwrites the file and the other appends to it as ray said.File name should be same in both the jobs.
If you don't want to use it then you have to use funnel stage by adjusting the metadata of one file to synchronise both files metadata.
Otherwise you can concatenate all the columns of the file into single column for both files and can use a funnel stage.
Just curious to know why you don't want to use CAT command to concatenate the files.
If you don't want to use it then you have to use funnel stage by adjusting the metadata of one file to synchronise both files metadata.
Otherwise you can concatenate all the columns of the file into single column for both files and can use a funnel stage.
Just curious to know why you don't want to use CAT command to concatenate the files.
Raghavendra
Dare to dream and care to achieve ...
Dare to dream and care to achieve ...
-
- Participant
- Posts: 147
- Joined: Sat Apr 30, 2005 1:23 am
- Location: Bangalore,India