Search found 53125 matches

by ray.wurlod
Thu Apr 14, 2011 11:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Help regarding RANDOM data selecting
Replies: 29
Views: 9149

Have you bothered to read the Parallel Job Developer's Guide section on the Random() function yet?
by ray.wurlod
Thu Apr 14, 2011 11:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: convert char into integer function?
Replies: 2
Views: 1982

Trim the leading zeroes. There's no need to be concerned about converting data type. Use the three-argument version of the Trim() function.
by ray.wurlod
Thu Apr 14, 2011 8:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data shuffling in Datastage
Replies: 7
Views: 2294

Generate the SQL query externally and pass it to the DB2 Connector as a job parameter.
by ray.wurlod
Thu Apr 14, 2011 8:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: empty tags
Replies: 11
Views: 3673

Suggestion: don't PUSH It's only five hours since your original post. Some people are actually asleep at this time. Or is that unacceptable to you? If you need an urgent response, sign up with your official support provider for priority service. Even then, after handing over wads of currency, I doub...
by ray.wurlod
Thu Apr 14, 2011 4:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Incorrect data from Teradata API write
Replies: 4
Views: 1346

Is the interim precision environment variable set?
by ray.wurlod
Thu Apr 14, 2011 4:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: rundate from header record of the file
Replies: 13
Views: 5159

Copy the stream and use a Head stage to extract the first row. It can be parsed appropriately downstream of that.
by ray.wurlod
Thu Apr 14, 2011 4:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Routine to View Data flow between two stages
Replies: 5
Views: 1825

Given that you already are in a Transformer stage, why not just use an additional output link? This could even feature a constraint driven by a job parameter that indicates whether or not you want to capture data and, if so, how many rows.
by ray.wurlod
Thu Apr 14, 2011 4:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record getting rejected due to additional delimiter
Replies: 4
Views: 1924

Or you can use a server Sequential File stage in a server Shared Container in your parallel job.
by ray.wurlod
Thu Apr 14, 2011 4:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join Stage adding unidentified characters to output
Replies: 5
Views: 2494

Any column being returned from the outer side of an outer join should be made nullable. Then you can deal with the nulls in a downstream stage.
by ray.wurlod
Thu Apr 14, 2011 4:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: sequential file pattern property
Replies: 5
Views: 2082

And what, pray tell, is the "inverse of concat"? (Hint: it's not "tacnoc".)
by ray.wurlod
Thu Apr 14, 2011 4:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: subtract 1 microsecond from incoming timestamp
Replies: 3
Views: 2551

Pretty straightforward. Strip off the microseconds, if non-zero subtract 1 and re-attach. If microseconds are zero use 999999 and subtract 1 from the seconds (perhaps using TimestampFromSecondsSince() function) before re-attaching.
by ray.wurlod
Thu Apr 14, 2011 4:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing Tabs and Carriage Returns
Replies: 2
Views: 1489

12 and 15 are octal values. The Char() function requires decimal arguments.
by ray.wurlod
Thu Apr 14, 2011 4:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ODBC Connector PX Stage error
Replies: 3
Views: 2584

This is a known limitation of the ODBC driver for MYSQL; it does not handle arrays. Therefore array size must be 1.
by ray.wurlod
Thu Apr 14, 2011 4:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Combining Date and Time from Varchar to Timestamp
Replies: 9
Views: 4342

And you'll need to specify a second argument for the Oconv() function applied to the date component, not the two components. Nor do you require a 12-hour clock in a timestamp, so lose the "H" from "MTHS". So what you really need is something like Oconv(Iconv(DSLink4.LOG_DT,"...
by ray.wurlod
Thu Apr 14, 2011 4:15 pm
Forum: General
Topic: Get list of jobs names along with the categories in a file
Replies: 1
Views: 1336

Welcome aboard.

Yes, what you seek to do is possible via a query on the DS_JOBS table.

Search DSXchange for example queries.