Search found 53125 matches

by ray.wurlod
Tue Apr 12, 2005 2:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating file dynamically
Replies: 8
Views: 2509

Sainath's contribution was a UNIX shell script, which means that you would not use DataStage at all for this particular task. The cut command produces a stream containing the first field from each line in the file, where the field delimiter character is "-". This is piped into sort -u which eliminat...
by ray.wurlod
Tue Apr 12, 2005 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Set job status to "not compiled"
Replies: 4
Views: 1586

Insert some other Activities to give you the control. Use Routine, Execute Command or Nested Condition Activities - you can effect your control with any of them. For example, an Execute Command activity could test for the existence of a file (you could even use a Wait For File activity here).
by ray.wurlod
Tue Apr 12, 2005 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Px Job logging a message directly
Replies: 3
Views: 1078

There are also all the C-callable functions in the ICI (ic$open, ic$read, ic$write, and so on). Haven't checked whether ICI still ships with DS, it's just an idea. Otherwise you definitely can use the InterCall functions or the UCI functions.

Slams lid back on can of worms.
by ray.wurlod
Tue Apr 12, 2005 2:39 pm
Forum: IBM QualityStage
Topic: Which stages to use?
Replies: 4
Views: 3066

If I were doing this design I would perform the transformations in DataStage using a Transformer stage, before invoking QualityStage via one, or a series of, QualityStage stage(s). As far as replacing ">" with "&GT" and "<" with "&LT", it appears that you're trying to create HTML tags, but y...
by ray.wurlod
Mon Apr 11, 2005 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mass Compile
Replies: 5
Views: 1730

For those on earlier versions, there's a tool called CompileAll available from the good folks who run this site. For FREE! And, before that, was CompileWitch from Wolfgang Huerter - search the archives for more information. Don't know if that's still available.
by ray.wurlod
Mon Apr 11, 2005 2:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: XML generation
Replies: 5
Views: 1146

Unfortunately you won't find the Comments tab in version 6.
by ray.wurlod
Mon Apr 11, 2005 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First non null value
Replies: 6
Views: 2251

Most query languages call this a COALESCE function. It's part of the query language, rather than part of ETL. If your database does not have COALESCE, it would be easy to create as a DataStage routine; I vaguely recall that one was posted either here or on ADN not too long ago. The main difficulty i...
by ray.wurlod
Mon Apr 11, 2005 2:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL check
Replies: 4
Views: 1126

To get a definitive answer we also need to incarcerate Schrodinger's cat in the barrel, and request the answer from the cat. Perhaps Heisenberg could also be engaged as a consultant. Ultimately everything's about quantum, even chaos.
by ray.wurlod
Mon Apr 11, 2005 2:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Split file to respect limit of records
Replies: 3
Views: 1689

Row-based rules are very difficult to implement, particularly in a parallel environment. If you're not concerned about which row goes into which file, then it's probably easier to do.

It may be easier to use UNIX utilities after PX has produced one file per node to achieve what you require.
by ray.wurlod
Mon Apr 11, 2005 2:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: 64 bits
Replies: 7
Views: 1793

Tru64 is an exception to many, many rules! :lol:

Craig's recollection is correct, but even before version 6 there had to be a lot of tweaking inside the code to ensure that "word" boundaries were based upon eight-byte words, particularly in shared memory segments.
by ray.wurlod
Mon Apr 11, 2005 5:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: select only new records (ODBC stage)
Replies: 6
Views: 1131

You can use job parameters for constants in the WHERE clause of the SELECT statement.
Fill in the WHERE clause, without the word WHERE, on the Selection tab of the ODBC stage Output links properties.
by ray.wurlod
Mon Apr 11, 2005 5:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Representations...
Replies: 8
Views: 2045

Currently DataStage is a 32-bit application. You need to access data through 32-bit drivers for the relevant database.
by ray.wurlod
Mon Apr 11, 2005 5:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Sequential file Fixed format
Replies: 9
Views: 2885

It's easy (version 7.5) to propagate the Trim() function across all columns in the Transformer stage. Right mouse click and choose propagate expression, then fill in Trim($1) and select "entire expression".
by ray.wurlod
Sun Apr 10, 2005 11:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: NULL check
Replies: 4
Views: 1126

Comparison against @NULL is meaningless; the result is necessarily "unknown". That is, you can't legitimately say Col = @NULL and expect it to behave in a Boolean fashion (in fact, there are rules in DataStage that govern the behaviour under these circumstances, but won't yield the results you expec...
by ray.wurlod
Sun Apr 10, 2005 2:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Version Control Error
Replies: 5
Views: 1260

The good news is that your VERSION project is probably OK. Problems with ActiveX occur only on the client. DataStage clients use objects exposed by an ActiveX control (dsobjects.dll or dsobjects.ocx) to communicate with the server. When an object cannot be created it may be that there is insufficien...