Search found 53125 matches

by ray.wurlod
Thu May 07, 2009 5:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: handle_null() for Timestamp Fields?
Replies: 2
Views: 2886

With what value do you want to substitute when the inbound value is null?

Code: Select all

OutputTS=handle_null(InputTS, "9999-12-31 23:59:59")
by ray.wurlod
Thu May 07, 2009 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Universe Database connection
Replies: 2
Views: 1346

Use a UniVerse or Hashed File stage in a server shared container.
by ray.wurlod
Thu May 07, 2009 4:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Pivoting/Spliting
Replies: 11
Views: 3001

Another approach is to parse the values into separate columns and use a Pivot stage.
by ray.wurlod
Thu May 07, 2009 4:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Regarding LOG file
Replies: 6
Views: 2108

Don't you ever bother to Search?

There is no such thing as a log file in DataStage. Now search on...
by ray.wurlod
Thu May 07, 2009 4:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: COMBINE RECORDS
Replies: 3
Views: 1899

Welcome aboard.

Please post the record schema of your output link. Are you using runtime column propagation?
by ray.wurlod
Thu May 07, 2009 4:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date format
Replies: 5
Views: 1254

Conversion to and from date would do it, but it will be far more complex than your substring-based solution. You need appropriate format strings in each case. What happens when day or month needs two digits?
by ray.wurlod
Thu May 07, 2009 4:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to insert record into table when input file is empty
Replies: 7
Views: 2149

Job Sequence

Code: Select all

                           +-->  Job to insert hard coded row
                           |
GetFileSize  --->  Test  --+
                           |
                           +--> Job to process file contents
by ray.wurlod
Thu May 07, 2009 4:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare files taken from FTP
Replies: 5
Views: 1893

Is there any reason you can't use the UNIX command diff to perform the comparison? This could be invoked from an Execute Command activity in a job sequence.
by ray.wurlod
Thu May 07, 2009 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Link keeps black
Replies: 15
Views: 4745

Dump the score, inspect it, and answer your own question. Please post the results of your investigations here.
by ray.wurlod
Thu May 07, 2009 4:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: data with double quote
Replies: 4
Views: 1358

The file is "corrupted". Get whoever created it to use a different quote character (or none) around strings.
by ray.wurlod
Thu May 07, 2009 4:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Limit fetch in Universe Query
Replies: 2
Views: 1538

If your log grows to 2GB it will become corrupted and unusable. If this is likely, you need to resize that particular log table to use 64-bit internal addressing. Before it gets corrupted. This may not be a universal panacea; the log table will also get corrupted if a write to it is blocked by the f...
by ray.wurlod
Thu May 07, 2009 4:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: TIMESTAMP CONVERSION
Replies: 8
Views: 2709

Iconv() is clever enough not to need format information.

Code: Select all

Iconv(Left(InLink.TheString,6),"DYMD")
by ray.wurlod
Thu May 07, 2009 4:31 pm
Forum: General
Topic: Loop Iteration Number in Sequencer
Replies: 9
Views: 2183

My most recent post on this thread is as close to a direct solution as you're going to get with current software.
by ray.wurlod
Thu May 07, 2009 4:29 pm
Forum: General
Topic: Client licensing clarification
Replies: 5
Views: 1487

Most recent connection governs the current limit. So, for example, if you have a user connecting using a ten-user license, the limit is ten. If another user, with a five-user license, now connects, the limit is five (of which two are now taken). If a second user of the ten-user license now connects,...
by ray.wurlod
Thu May 07, 2009 4:27 pm
Forum: General
Topic: Datastage certification cost
Replies: 12
Views: 12539

If you attend the Information on Demand conference in October you can attempt three exams within the cost of the conference, and more at a discounted rate.