Search found 53125 matches
- Tue Oct 03, 2006 11:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data stage Configuration File
- Replies: 8
- Views: 12603
Nodes are grouped into pools in the configuration file. It is pointless to do so, however, with a single node configuration. The same applies to disk pools. A node pool is a subset of the possible nodes in a configuration; it makes more sense to use node pools in an MPP environment. Stages can be re...
- Tue Oct 03, 2006 11:40 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: COALESCE handling null value
- Replies: 6
- Views: 3696
- Tue Oct 03, 2006 8:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: extract data from file different num of fields in each row
- Replies: 22
- Views: 4901
Take two passes through the file. The first does nothing other than verify that each header record has detail and trailer records that belong to it. This is all done with stage variables and relies on the file being sorted (use a Sort stage if you need it). It might also populate a hashed file from ...
- Tue Oct 03, 2006 8:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: what is the difference between rejected records and exceptio
- Replies: 5
- Views: 1391
- Tue Oct 03, 2006 8:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to remove extra lines in the output file?
- Replies: 6
- Views: 1865
- Tue Oct 03, 2006 8:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Check whether string consists of alphanumeric characters
- Replies: 7
- Views: 1429
- Tue Oct 03, 2006 8:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Conecting to Mainframe DB2 from Datastage
- Replies: 1
- Views: 977
- Tue Oct 03, 2006 6:40 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: extract data from file different num of fields in each row
- Replies: 22
- Views: 4901
By "Sorter" do you mean a Sort stage? For efficiency I'd be inclined to pre-process this file to count the rows beginning with "H" and the rows beginning with "T" to make sure that they're the same. This could be done quite quickly in a shell script. Of course, it does not guarantee that there are m...
- Tue Oct 03, 2006 5:13 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: extract data from file different num of fields in each row
- Replies: 22
- Views: 4901
- Tue Oct 03, 2006 5:08 pm
- Forum: IBM QualityStage
- Topic: Sequencing the flow
- Replies: 10
- Views: 2917
See page 8-8 of the QualityStage User Guide (version 7.5) for information about running QualityStage jobs from the UNIX command line. I am talking about using multiple QS plug-ins in a DataStage job, not in a QualityStage job. These can stream the data into and out of QualityStage; they do not requi...
- Tue Oct 03, 2006 5:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Designer is slow for creating parallel jobs (7.5.2)
- Replies: 12
- Views: 3684
- Tue Oct 03, 2006 5:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to Import DS Macro ?
- Replies: 9
- Views: 5576
It's somewhat less meaningful in a parallel job, since you will get different counts on different partitions. How do you intend to handle that? Running in sequential mode? You may as well use a server job (which is quite fast with sequential files). The easiest technique, if you have a Transformer s...
- Tue Oct 03, 2006 4:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: what is the difference between rejected records and exceptio
- Replies: 5
- Views: 1391
Obviously they are expecting you to resolve their confusion. Get agreement on definition of terms, in writing and signed ("CYA"). For example, a reject is a row that fails ETL processing because some business rule is violated; an exception is a row that is not a reject but which violates some constr...
- Tue Oct 03, 2006 4:55 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Multiple Instance from Unix
- Replies: 8
- Views: 3391
- Tue Oct 03, 2006 4:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Name Seperation
- Replies: 3
- Views: 1140
Assuming that you want everything ahead of the first space character, and everything after the first space character, then the Field() function is what you need.
Code: Select all
Field(TheString, " ", 1, 1)
TrimF(Field(TheString, " ", 2, 99999))