Search found 53125 matches

by ray.wurlod
Wed Jun 13, 2012 12:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert Char 10 to Integer 10 gives unexpected results
Replies: 11
Views: 4462

3600000008 is too big to be a signed Integer. You'll need to make it a BigInt. The largest signed integer is 2147483647, the largest unsigned integer is 4294967295. So even uint32 can not cope with all 10-digit numbers.
by ray.wurlod
Wed Jun 13, 2012 12:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert date foramts to other formats
Replies: 2
Views: 890

Do you know, reliably, which format your source dates are in? For example is 08/08/08 a YY/MM/DD or a MM/DD/YY format?

If not, you're doomed.
by ray.wurlod
Wed Jun 13, 2012 12:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number must be postive value, if negative reject
Replies: 2
Views: 946

InLink.Value >= 0 on output link constraint.
InLink.Value < 0 on reject link. You could also employ Otherwise/Log for this link.
by ray.wurlod
Tue Jun 12, 2012 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: delete data from hash file
Replies: 2
Views: 1766

Terminology: it's hashed file, not hash file.

It is not possible to delete rows from a hashed file from a parallel job.

There is no support for hashed files in parallel jobs (other than by including a server Shared Container).
by ray.wurlod
Tue Jun 12, 2012 4:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Escape Single Quote with Single Quote
Replies: 23
Views: 6886

The routine is already written, and posted on DSXchange. It is PxEreplace().
by ray.wurlod
Tue Jun 12, 2012 4:31 pm
Forum: General
Topic: Datastage project wise folder name
Replies: 3
Views: 1771

What is the NAME of the aberrant job?
by ray.wurlod
Tue Jun 12, 2012 2:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Padding by default
Replies: 9
Views: 7336

VarChar data type does not need to be padded at all. The value of APT_STRING_PADCHAR will be ignored when writing to VarChar columns unless, perhaps, you explicitly specify a padding function.
by ray.wurlod
Tue Jun 12, 2012 2:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best method for update table on non-indexed columns
Replies: 4
Views: 1441

What are your criteria for "best"? At one level, anything that achieves the correct result is "best", is that not so?
by ray.wurlod
Tue Jun 12, 2012 12:32 am
Forum: General
Topic: Reporting on Common Metadata Assets
Replies: 3
Views: 1884

Reporting on Common Metadata Assets

Is there any easy and straightforward way to obtain a list of all common metadata assets in the Repository, ideally using a command line tool (but I'll tolerate a GUI if absolutely necessary, provided the results can be written to a file)?
by ray.wurlod
Tue Jun 12, 2012 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: No conductor nodes found in export node pool
Replies: 16
Views: 8894

Did you once have a default node pool ("") which has since been removed from the configuration file? The Sequential File stage (import operator) would have used that.
by ray.wurlod
Tue Jun 12, 2012 12:21 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String to Date conversion issue
Replies: 9
Views: 3063

Oracle is ...
_________________ ... different
by ray.wurlod
Mon Jun 11, 2012 9:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String to Date conversion issue
Replies: 9
Views: 3063

Because, in server jobs, the representation of the Date data type is "internal format". Most Connectors (and their predecessors) perform the conversion automatically where the metadata are consistent.
by ray.wurlod
Mon Jun 11, 2012 9:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Padding by default
Replies: 9
Views: 7336

You can not pad with "" because a zero-length string doesn't pad. That is, string : "" does not increase the length of string. NULL (unknown value) is even worse, because concatenating NULL causes the result to be NULL and you lose the original value. Pad with 0x00 (which your vi...
by ray.wurlod
Mon Jun 11, 2012 8:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating History records using SCD stage
Replies: 2
Views: 1007

In a word, "automatically". Date management is part of regular Type 2 SCD processing using this stage. You can also set a "current" indicator.
by ray.wurlod
Mon Jun 11, 2012 8:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: get lastmonth timestamp in transformer
Replies: 5
Views: 2024

Your edit has removed the example, leaving us even more in the dark.

At a guess, I'd say what you need to do is subtract the number of days in the previous month from the current date.