Search found 53125 matches

by ray.wurlod
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...
by ray.wurlod
Tue Oct 03, 2006 11:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: COALESCE handling null value
Replies: 6
Views: 3696

What is happening to make you say "it doesn't work"? That is not a particularly specific symptom description.

If you've used NullToEmpty to remove nulls from the column, also lose the second COALESCE from the sql statement. It's unnecessary.
by ray.wurlod
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 ...
by ray.wurlod
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

Extract ----> Transformer ----> Transformer ----> Database | | | | V V Rejects Exceptions from DB When processing exceptions, use DBMSCODE and LASTERR link variable to obtain diagnostic information.
by ray.wurlod
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

Open a CMD shell (Start > Run > cmd)
Type in CMD /?
Read what's displayed.
Type EXIT to exit from shell.
by ray.wurlod
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

ALPHAnumeric was specified in the subject.
by ray.wurlod
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

You require DB2 Connect software installed and configured on your DataStage server machine. Others have done this - search the forum.
by ray.wurlod
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...
by ray.wurlod
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

How about you give us your thoughts first?

How many outputs does this job have? What is the layout of each?

Can you do it in a single job? If not, why not?
by ray.wurlod
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...
by ray.wurlod
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

Is it dsdesign.exe that is eating the CPU on your PC? Use the Processes tab in Task Manager; click on the CPU column heading to sort by CPU.
by ray.wurlod
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...
by ray.wurlod
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...
by ray.wurlod
Tue Oct 03, 2006 4:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instance from Unix
Replies: 8
Views: 3391

dsjob -run project jobname.invocationID
by ray.wurlod
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))