Search found 53125 matches

by ray.wurlod
Tue Nov 20, 2012 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NUM function
Replies: 5
Views: 2763

If there's really a leading single quote character (as per your example, possibly grabbed from Excel), then the Num() function will identify this as non-numeric. You need to lose the leading quote character first.
by ray.wurlod
Tue Nov 20, 2012 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage job ran for 11 hours,,, please help
Replies: 12
Views: 6910

Talk to your DBA. For example it may be possible to disable immediate update of the indexes then have them updated at the end of the load.
by ray.wurlod
Tue Nov 20, 2012 1:20 pm
Forum: General
Topic: Identifing the decode value of password parameter
Replies: 4
Views: 1420

When "$PROJDEF" is encrypted it should always generate the same string, so simply compare the encrypted value (which is guaranteed always to be made up entirely of printable characters).
by ray.wurlod
Mon Nov 19, 2012 11:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creation XML file with Header ,Detail , Trailer
Replies: 12
Views: 6292

How about using a Funnel stage running sequentially to assemble Header, Details, Trailer?
by ray.wurlod
Mon Nov 19, 2012 11:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job with SCD stage behaving strange. Any ideas?
Replies: 18
Views: 4553

Are there any warnings in the job log? Do you have INSERT and UPDATE privilege to that particular dimension table? Do you have a user-defined INSERT statement as the Update statement in the Connector stage?
by ray.wurlod
Mon Nov 19, 2012 11:39 pm
Forum: General
Topic: Information Server version 9.1
Replies: 18
Views: 11528

"December" was all they'd tell us at IOD.

Vincent has started the rumour that GA date is December 14th.
by ray.wurlod
Mon Nov 19, 2012 11:37 pm
Forum:
Topic: Duplicated metadata in 2 different datasource
Replies: 2
Views: 1647

Administer your repository (Administration tab in MWB) to remove duplicates.
by ray.wurlod
Mon Nov 19, 2012 3:42 pm
Forum: General
Topic: Change the string to specific date format in User variable
Replies: 4
Views: 1212

Are you looking for the end of the next month or the corresponding day (date) in the next month?

I don't believe Arnd's parsing is necessary; Iconv("20120731","D4YMD") should work correctly. After that, something like the MONTH.LAST Transform might be what you are looking for.
by ray.wurlod
Mon Nov 19, 2012 4:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Amount in integer to amount in words
Replies: 8
Views: 1438

There's nothing built-in, but you can certainly create a routine. I recall creating a server routine to do just this thing many years back. Resolve certain questions first, such as whether commas and "and" are needed. For example "one thousand seven hundred twenty eight" or "...
by ray.wurlod
Mon Nov 19, 2012 4:51 am
Forum: General
Topic: automatically handle activities that fail
Replies: 3
Views: 1917

A routine returning other than zero is regarded as having failed by the "automatically handle" mechanism. To defeat this you require an explicit Failure trigger on the Routine activity.
by ray.wurlod
Sun Nov 18, 2012 4:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 connector look up stage fails
Replies: 8
Views: 6731

All Connectors use the ORCHESTRATE object.

Connectors are available in server jobs as well as in parallel jobs.
by ray.wurlod
Sun Nov 18, 2012 2:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting a particular record (looping)
Replies: 9
Views: 2692

Yes, but why open another operating system shell when the Field() function within DataStage will do just as well, and more efficiently?

Constraint expression: Left(InLink.TheString,6) = "file1="
Derivation expression: Field(InLink.TheString, "=", 2, 9999)
by ray.wurlod
Sun Nov 18, 2012 2:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 connector look up stage fails
Replies: 8
Views: 6731

And your question is?

Note carefully the reference to DSP.Open in the error message.
What does that suggest to you?
by ray.wurlod
Sat Nov 17, 2012 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Remove new line character from modify stage
Replies: 7
Views: 2709

To answer the original question, the required Modify stage function is string_trim()