Search found 34 matches

by dsdesigner
Fri Jun 10, 2005 11:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ABS() function
Replies: 14
Views: 14601

FABS(). I just stumbled upon this funtion that takes a float as input and calculates the absolute values of the number. I tried with an example and it works good for me.

Maybe Kiran can try this.

Thanks,
Shekar
by dsdesigner
Thu Jun 09, 2005 8:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Link Partitioner
Replies: 4
Views: 952

Nope, you cannot use a link partitioner to achieve this. You can achieve this through a transformer, by using constraints.

Thanks,
Shekar
by dsdesigner
Thu Jun 09, 2005 8:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same sequence number to be used in loading multiple tables
Replies: 13
Views: 4541

Then there is definitely something wrong, in the manner in which you are creating the hash file or referencing it. Please write the contents of the hash file to a seq. file and see how many records the seq. file contains.

Thanks,
Shekar
by dsdesigner
Wed Jun 08, 2005 9:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same sequence number to be used in loading multiple tables
Replies: 13
Views: 4541

Hi Harithay, Please try by getting the code to the bare minimum. In the job 3 and job 4 don't use the pivot stage. write the output to a temporary seq. file, and see if it is getting the right surrogates. hashfile | | seqfle------------>transformer------>seqfile see if it is getting the right surrog...
by dsdesigner
Wed Jun 08, 2005 9:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH File Lookup is very Slow
Replies: 10
Views: 3854

Hi Bappaju,
Please refer to the following link. It has answers to almost all your questions.
viewtopic.php?t=85364.[url]
by dsdesigner
Wed Jun 08, 2005 4:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same sequence number to be used in loading multiple tables
Replies: 13
Views: 4541

there are 27142 records in source, i have same number of records going to hashed file. when i run the job i am getting only 178 records on hashed file reference link to the transformer. . the job finished succesfully but not loading surrogate key to the out put. Are you getting this statistics, fro...
by dsdesigner
Wed Jun 08, 2005 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ABS() function
Replies: 14
Views: 14601

Hi Kiran, The DataStage documentation specifies that the input argument to the abs function should be of type int32 and return type is a dfloat . But in that case even your +ve number have to be truncated. I tried it with an example and have noticed that the decimal part of my positive numbers are t...
by dsdesigner
Tue Jun 07, 2005 11:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Insert and Update rows count
Replies: 4
Views: 2444

I assume you are using an upsert mode in the current job and hence cannot identify the rows that you are inserting/updating. One option is, you can seperate the inserts and updates. Once seperated you can have two jobs, one that inserts and another that updates. This will allow you to use the GetLin...
by dsdesigner
Tue Jun 07, 2005 11:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same sequence number to be used in loading multiple tables
Replies: 13
Views: 4541

Hi Harithay, You can do it by creating 4 seperate jobs. JOb 1) first i am loading parent table with 5 columns mappping from source , with surrogate key generation. sequnce is generated in sql server data base . src------>transfomer-------->target1 Job2) Create a hash file of the first target with th...
by dsdesigner
Tue Jun 07, 2005 11:39 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: same sequence number to be used in loading multiple tables
Replies: 13
Views: 4541

Hi Harithay, You can do it by creating 4 seperate jobs. JOb 1) first i am loading parent table with 5 columns mappping from source , with surrogate key generation. sequnce is generated in sql server data base . src------>transfomer-------->target1 Job2) Create a hash file of the first target with th...
by dsdesigner
Tue Jun 07, 2005 11:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Link Collector Stage
Replies: 2
Views: 703

I don't see any reason why it should not.

Thanks
by dsdesigner
Tue Jun 07, 2005 11:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HASH File Lookup is very Slow
Replies: 10
Views: 3854

HI Bapajju There has been a lot of discussion in the forum regarding hash file performance. You will find a lot of valuable information if you search this forum. However to answer your question What is the value of modulus you are specifying when the hash file is created. You need to use a modulus s...
by dsdesigner
Tue May 24, 2005 1:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hashed file and routine
Replies: 7
Views: 1658

If you are getting a null then maybe, you should set it to 0 and add it to the @INROWNUM ??

Thanks
by dsdesigner
Sun May 22, 2005 1:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Node dies issue
Replies: 2
Views: 1844

Hi Hari,

I have experienced this error and in my case it was because of Kerberos Authentication. Contact your admin and see if you have your kerberos account set up?

HTH

Thanks
by dsdesigner
Sun May 22, 2005 12:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null handling in PX Sequential files
Replies: 23
Views: 22647

Hi Vj

I may be reiterating what siva has already said, but this is what you can try for the example data that you posted that you need to read.
Go to the properties tab of the sequential file and add the property default null field value and put in ''(two single quotes) as the value.

HTH

Thanks