Search found 23 matches

by tardifma
Thu Jun 08, 2006 5:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Join Stage - Paritionning question
Replies: 2
Views: 1602

Join Stage - Paritionning question

Hi. I have a question about jobs that contains multiple join stages and their partition... Actually, I have a PX job that contains 2 join stages (left outer join). I've set the partitionning on both stages to Hash... The first Join has 5 keys... Key1,Key2,Key3,Key4,Key5 on the two input links. I use...
by tardifma
Tue May 02, 2006 8:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 UDB Enterprise Question
Replies: 7
Views: 2633

DB2 UDB Enterprise Question

Hi. Does anyone know what command are sent to the DB2 database when we use the DB2 UDB Enterprise stage with this setting: Write Method: Write Write Mode: Truncate Does it send an "Import Replace" command to DB2? Does it send a Delete statement?... Or an Import /dev/null? We want to reload...
by tardifma
Wed Feb 22, 2006 9:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: passing parameter values
Replies: 7
Views: 2695

Hi djoni. Well, first, you need to define the parameter (name and type) in the job properties. Second, you can pass the value of the parameter with the dsjob utility (at the prompt). dsjob -run -param param_name=param_value -param param_name=param_value... -wait project_name sequencer hope it helps
by tardifma
Fri Feb 17, 2006 12:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in Surrogate key stage
Replies: 5
Views: 2306

Hi r. Can we have a little bit more detail about your job... From what I know, I schema file is used by a Column Generator or a Row generator... I've never seen the option "Schema file" or "Schema" in a surrogate key generator... What looks like your mapping? Is Surrogate_Key_Gen...
by tardifma
Fri Feb 17, 2006 12:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Column names in the sequential file output with delimiter
Replies: 7
Views: 2411

Hi rgn_g. In the sequential file stage, there is an option named: "First Line is Column Names = False". Change it to True. And in the Format tab of this stage, you can specify which delimiter you want. You can choose "None", "Comma"... or you can even type it is the lis...
by tardifma
Mon Feb 13, 2006 2:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoid Concatenate/constants in Transformer
Replies: 7
Views: 3284

Hi ArndW

I am curious... I am currently looking at the column generator stage...

How do you define the constant value? Is there any option to specify the value?

Thanks in advance.
Mathieu
by tardifma
Mon Feb 13, 2006 2:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Avoid Concatenate/constants in Transformer
Replies: 7
Views: 3284

Hi
As far as I know, I think so...

But if your source is a database... maybe you could hardcode it into your SQL statement at the beginning...

You probably want to avoid the transformer stage for performance reason isn'it?

Hope it helps.
Mathieu
by tardifma
Mon Feb 13, 2006 1:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve integer value with out exponential value
Replies: 4
Views: 1593

Hi,
What I am saying is if you input is something like '27292223455' (Varchar(15)), then you could define your variables as BigInt and convert it to a number by using the DecimalToString function...

Is this what you try to do? or if your input have the 2.72922e+11 format as well?

Mathieu
by tardifma
Mon Feb 13, 2006 1:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Achieve integer value with out exponential value
Replies: 4
Views: 1593

Why don't you use a real integer variable? You could convert your string input field to an integer by using the StringToDecimal function.

Mathieu
by tardifma
Mon Feb 13, 2006 8:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To check the sequence of the input file
Replies: 9
Views: 4085

Hi... I think I know what you're saying now. You have a multiple set of records that contains detail records and one trailer record that resume the detail records of your set. And you want to validate that the trailer record summarized correctly the detail records... Then, to do so, I would use a tr...
by tardifma
Mon Feb 13, 2006 7:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To check the sequence of the input file
Replies: 9
Views: 4085

Hi.
Sorry but, can u explain us exactly what sequence you want to verify... I'm not sure of what exactly you're trying to do???

Thanks
by tardifma
Sun Feb 12, 2006 10:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Populating values into a column which datatye is timestamp
Replies: 2
Views: 1245

Hi.
In the server edition, look at the IConv and OConv option. With these 2 function, you can convert string to datastage date format. Look at the IConv's help for the format...

Mathieu.
by tardifma
Fri Feb 10, 2006 1:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Validations
Replies: 6
Views: 2618

U can use IsValid as well for number... it should work... but I never tried...
by tardifma
Fri Feb 10, 2006 1:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Validations
Replies: 6
Views: 2618

Hi. I think when you read an empty string, datastage does not replace the empty string by a Null... I think you'll have to check if Trim(Var) = '' then... For the amounts, the transformation should be like if trim(Var1) <> '' then if num(var1) = 1 then StringToDecimal(Var1) else null else null For d...
by tardifma
Fri Feb 10, 2006 10:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To pass the parameter to oracle stage in where class
Replies: 11
Views: 5341

Hi. Make sure that your parameter is set to a Date data type. Also, make sure that the default format of your job is really %mm-%dd%yyyy.... If it still does not work after, try to pass a string data type... just to make sure that the parameter is well passed. I did the exact samething for a number....