Search found 6797 matches
- Thu Jan 18, 2007 11:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: <transform> Error when checking composite operator: g+
- Replies: 11
- Views: 6013
- Thu Jan 18, 2007 10:43 am
- Forum: Data Quality Best Practices
- Topic: how to use quality stage
- Replies: 4
- Views: 10684
- Thu Jan 18, 2007 9:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: splitsingle row into multiple rows
- Replies: 17
- Views: 3587
- Thu Jan 18, 2007 9:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Redbrick
- Replies: 10
- Views: 2669
- Thu Jan 18, 2007 9:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: splitsingle row into multiple rows
- Replies: 17
- Views: 3587
Really...
Anyways, heres the code.
Code: Select all
awk 'BEGIN{FS=",";OFS=","}{for(i=5;i<=NF;i++) print $1,$2,$3,$i,$4}' yourfile.txt > newfile.txt
The new file will have one row split into 12 rows the way you want it.
- Thu Jan 18, 2007 8:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: splitsingle row into multiple rows
- Replies: 17
- Views: 3587
- Thu Jan 18, 2007 8:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Maximum number of Concurrent Job
- Replies: 2
- Views: 1411
- Thu Jan 18, 2007 8:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: splitsingle row into multiple rows
- Replies: 17
- Views: 3587
- Thu Jan 18, 2007 8:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: regarding command stage
- Replies: 33
- Views: 5922
Just getting tired of all the pleading... the whole point of this place is helping others, people don't need to end every post with a plea for help. Hang tight, be patient, you'll get whatever help people can provide when they can provide it... no groveling required. Thats true Craig. Been seeing t...
- Thu Jan 18, 2007 8:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: User control for commit or rollback
- Replies: 3
- Views: 997
- Thu Jan 18, 2007 7:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting List of job names from script.
- Replies: 5
- Views: 1019
- Thu Jan 18, 2007 7:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: regarding command stage
- Replies: 33
- Views: 5922
- Thu Jan 18, 2007 7:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: splitsingle row into multiple rows
- Replies: 17
- Views: 3587
- Thu Jan 18, 2007 7:51 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Auto Archving of Logs
- Replies: 7
- Views: 1396
- Wed Jan 17, 2007 9:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: <transform> Error when checking composite operator: g+
- Replies: 11
- Views: 6013