Search found 53125 matches

by ray.wurlod
Tue Jun 29, 2010 4:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: count of columns
Replies: 3
Views: 1600

This requires a classic fork-join design.
by ray.wurlod
Tue Jun 29, 2010 4:16 pm
Forum: General
Topic: DS installation - packages - fix pack
Replies: 5
Views: 3104

The DataStage TX product was moved out of DataStage some years back and is now called WebSphere Transformation Extender. Your question does not relate to that product and consequently does not belong in this forum.

<relocated>
by ray.wurlod
Tue Jun 29, 2010 4:13 pm
Forum: General
Topic: How to use the Oracle IN statement?
Replies: 4
Views: 1887

Why are you posting this question in this forum, which is about the DSXchange site itself and which, by the way, is not backed by an Oracle database? We need to know the appropriate job type (server or parallel) to be able to offer the correct answer. This is achieved by posting on the correct foru...
by ray.wurlod
Tue Jun 29, 2010 4:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Tmestamp to date conversion
Replies: 6
Views: 1625

The apparent format of dates, times and timestamps is determined by default via settings in the Administrator client. These can be overridden in jobs and even in functions such as StringToDate().
by ray.wurlod
Tue Jun 29, 2010 3:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Field "BEHAVIOUR_ID" has import error and no defau
Replies: 5
Views: 4440

Look at the "bad" data. {0d} is a carriage return. I'd guess that you are reading a file that has DOS-style line terminators but have specified UNIX-style line terminators in the format properties of your Sequential File stage.
by ray.wurlod
Tue Jun 29, 2010 3:46 am
Forum: General
Topic: DataStage job stuck in a running state
Replies: 8
Views: 13967

Check for lock contention in any database to which the job connects. A job will wait up to forever for a database lock (or table or row lock) to be released.
by ray.wurlod
Tue Jun 29, 2010 2:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VarChar Memory Usage
Replies: 14
Views: 7806

ArndW wrote:I gather that this behaviour was different at releases prior to 7.
Yep. Heaps slower, for one thing.
by ray.wurlod
Tue Jun 29, 2010 2:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: VarChar Memory Usage
Replies: 14
Views: 7806

Not an anomaly - a deliberate design decision. Storage in Data Sets is fixed width (the same model as COBOL) so that addition and retrieval is in constant-sized chunks, which is very very efficient (the ZMOV instruction or equivalent) rather than needing to calculate offsets.
by ray.wurlod
Tue Jun 29, 2010 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How do I store job status information in table?
Replies: 21
Views: 5314

A bit obscure to introduce the SH verb, Arnd. A call to DSExecute can go directly to the operating system shell.
by ray.wurlod
Tue Jun 29, 2010 2:23 am
Forum: General
Topic: Sort and extract records based on recent date
Replies: 4
Views: 1388

The initial value can be any valid value for the data type. 0 suggests itself in this particular incarnation.
by ray.wurlod
Tue Jun 29, 2010 2:22 am
Forum: General
Topic: How to handle the null values in transformer
Replies: 2
Views: 1030

Welcome aboard. The short answer is that you must handle them; you can not provide a null value to most Transformer stage functions. Your options are basically twofold; take an alternate action if the incoming value is null (probably using an If..Then..Else construct) or replace the null with some p...
by ray.wurlod
Tue Jun 29, 2010 1:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: using transfomer or modify
Replies: 3
Views: 1493

If your data type is date you will need type conversion functions DateToString() and StringToDate() with different format strings. If your data type is string you will need Field() functions to unpack the components and Trim() to remove the leading zeroes, then concatenation to re-assemble the date....
by ray.wurlod
Tue Jun 29, 2010 1:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert 12hrs as a 24hrs
Replies: 6
Views: 1986

What's the data type of drawtime? Assuming it's a string, you can use Field() functions, arithmetic (add 12) and concatenation to build the desired output string.
by ray.wurlod
Mon Jun 28, 2010 9:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Splitting the rows
Replies: 10
Views: 2627

There is only one pivot stage in version 7.5.

Search on your client machine for a document called Pivot.pdf - this is the manual.
by ray.wurlod
Mon Jun 28, 2010 9:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Splitting the rows
Replies: 10
Views: 2627

What you seek to do is called a "horizontal pivot" and is performed by the Pivot stage in DataStage.