Search found 53125 matches

by ray.wurlod
Thu Mar 15, 2012 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: loading images
Replies: 1
Views: 1125

First question to ask is whether the Oracle BLOB and DB2 BLOB are compatible.

If they are, treat them as Long VarChar data type. Use appropriate CAST or conversion functions in user-defined SQL.
by ray.wurlod
Thu Mar 15, 2012 3:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Multi-Instance Overhead
Replies: 7
Views: 2475

Welcome aboard.

There's negligible overhead. You get an extra dot (plus invocation ID if used) in the job name as executed. Purging job logs becomes a little trickier.

Why are you contemplating such a "standard"? There are lots of jobs that won't benefit from being multi-instance.
by ray.wurlod
Thu Mar 15, 2012 3:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: More accurated timestamp than Oconv(@TIME,"MTS")
Replies: 6
Views: 4902

Rather than Time(), you can use System(12) to return the number of milliseconds since midnight. Note: you need to have $OPTIONS TIME.MILLISECONDS asserted. Microseconds are not possible using DataStage BASIC, though you might be able to invoke a system routine. However, not all operating systems sup...
by ray.wurlod
Thu Mar 15, 2012 2:57 pm
Forum: General
Topic: Row Counts from All the tables in a Schema
Replies: 4
Views: 1466

All correct. You may find it beneficial to use a User Variables activity to change the delimiter character in the list.
by ray.wurlod
Thu Mar 15, 2012 2:56 pm
Forum: General
Topic: How to set Uservariable as a sequenece parameter in Sequence
Replies: 3
Views: 1054

You can not change a sequence parameter value once the sequence has started. Use User variables or Activity variables to populate the job parameter values.
by ray.wurlod
Thu Mar 15, 2012 3:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Single Quote in Job Parameter
Replies: 6
Views: 3012

This is a common shell technique called "escaping". Since "," (for example) is meaningful in the shell, "\," tells the shell to 'escape' that special meaning and treat the next character as itself literally.
by ray.wurlod
Thu Mar 15, 2012 3:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to separate charcters and integers?
Replies: 17
Views: 8172

Use a BASIC Transformer stage (or a server job).

Code: Select all

Char_col  <==  Oconv(InLink.TheString,"MCA")
Num_col  <==  Oconv(InLink.TheString,"MCN")
by ray.wurlod
Thu Mar 15, 2012 1:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Extracting XML input with multiple repetative key elements
Replies: 5
Views: 2125

Do you know how to specify xpath and repeating elements? If not, a search here and in Ernie's blog will be an excellent learning experience.
by ray.wurlod
Thu Mar 15, 2012 12:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Subtract time microseconds
Replies: 8
Views: 2392

Can we call you "auto" for short?
by ray.wurlod
Thu Mar 15, 2012 12:53 am
Forum:
Topic: Not able to bind data Item binding in automation
Replies: 3
Views: 2117

Read Eric's answer again, carefully. This is UNIX, not Windows. Files in the current directory are NOT automatically executable. You need either to incorporate the directory pathname in your command search path (that is, the PATH environment variable) or to specify the command itself via a full or r...
by ray.wurlod
Wed Mar 14, 2012 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting multiple columns to single row
Replies: 9
Views: 3037

The second person possessive pronoun in English is spelled "your". It is not "u r". DSXchange is not a mobile phone; there is no requirement to use SMS-style abbreviation. Strive, instead, for a professional standard of written English. Among other things, this makes things easi...
by ray.wurlod
Wed Mar 14, 2012 3:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading multiple files using sequential file or other stage
Replies: 7
Views: 2216

Read the file of file names using an Execute Command activity using the cat command. In a User Variables activity convert the line terminator characters into - for example - commas so that you have a comma-delimited list. Use this comma-delimited list in a Start Loop activity. A job within the loop ...
by ray.wurlod
Wed Mar 14, 2012 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is the Char function valid
Replies: 2
Views: 1512

Try this variation:

Code: Select all

Char(150,1)
The second argument asserts that the high order bit can be set.
by ray.wurlod
Wed Mar 14, 2012 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job is not calling the routine...
Replies: 4
Views: 1395

Did you migrate the routine's executable (or compile the routine in production)? What other error messages were logged? When you reset the job, is there a "from previous run..." event logged and, if so, what does it reveal?
by ray.wurlod
Wed Mar 14, 2012 3:31 pm
Forum: General
Topic: Row Counts from All the tables in a Schema
Replies: 4
Views: 1466

Two jobs in a sequence. The first job queries all_tables and stores a delimited list of table names in its user status area. This is used as the list of things to process in a Start Loop activity. The second job within the loop performs the count queries, being passed the table name as StartLoop.$Co...