Splitting rows into multiple files

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
rejith.ry
Participant
Posts: 21
Joined: Thu Jun 08, 2006 3:37 am

Splitting rows into multiple files

Post by rejith.ry »

Hi,
I want to write each row in my inpu file to a seperate file. File name is one of the columns of the file. This can be achived using folder stage in server job. What is the alternative in parallel job?

Rejith
Rejith R
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Please delete the duplicate post.

How do you propose to manage all these files in a parallel execution environment, were you have no direct control over which row is processed on which node (because someone might run the job under a different configuration)?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Do it outside DS. Like say in a shell script. I posted one a few months ago. Both here and "developerswork" (IBM's forum pages". Search for it. It will give you a very good idea of how to go about it.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply