Search found 437 matches

by somu_june
Mon Apr 30, 2007 8:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the length for decimal field
Replies: 17
Views: 7154

Hi DSguru,


I tried with the code you have mentioned. But no luck, all records are going to StagVar = "B" link and no records or 0 records are going through the StagVar = "A" constraint link




Thanks,
SomaRaju.
by somu_june
Mon Apr 30, 2007 7:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the length for decimal field
Replies: 17
Views: 7154

Hi Dsguru, In sequential file Iam seeing the decimal value as 1234567891.00 for decimal (12,2) and for Decimal (15,2) Iam seeing as 1234567891234.00 and I tried with Length function but it is giving length to all the fields as 15 whether it is(12,2) or (15,2). I mentioned in input Sequential File a ...
by somu_june
Mon Apr 30, 2007 5:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the length for decimal field
Replies: 17
Views: 7154

Hi DSguru, I tried with Stage Variable as you mentioned. I gave stage Variable name as StagVar and in derivation I mentioned as If Frm_Sort.Price Matches "12N.2N" then "A" else "B" and in Constraints I mentioned as you said StgVar = "A" and StgVar = "B&qu...
by somu_june
Mon Apr 30, 2007 5:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the length for decimal field
Replies: 17
Views: 7154

Hi Ray, If I use a parallel job and IsValid() function . Can you please tell me what arguments do I need to pass in IsValid() function. I tried like this IsValid("decimal", Incolumn.price) but every record is going to that link . I want to filter records whose length is (12,2) to a file . ...
by somu_june
Mon Apr 30, 2007 4:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the length for decimal field
Replies: 17
Views: 7154

Hi Dsguru, I tried with the option matches that you have mentioned. But Iam not able to filter any records with decimal length(12,2) . In Stage variable I mentioned Stage 1 as variable and in Derivation I mentioned if Frm_Sort.Price Matches "12N.2N" then "A" else "B" An...
by somu_june
Mon Apr 30, 2007 2:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find the length for decimal field
Replies: 17
Views: 7154

How to find the length for decimal field

Hi, I have a server job. I am having a field "Price" which has decimal (15,2) length and I want to send the records which has decimal(12,2) length to one file and remaining records which is not having length decimal (12,2) to the other file or link. Can some one help in solving my problem....
by somu_june
Tue Apr 03, 2007 11:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning when directly doing a lookup to Db2 table
Replies: 2
Views: 1045

Hi Ray,


Thanks for solving my problem.






Regards,
SomaRaju
by somu_june
Mon Apr 02, 2007 11:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning when directly doing a lookup to Db2 table
Replies: 2
Views: 1045

Warning when directly doing a lookup to Db2 table

Hi , I have a job in which Iam doing a lookup to a db2 table directly with out out using any hash files for a column Annd and when Iam doing that Iam getting an warning. Preprocessor_CheckAnnouncement..Xfom_ANNDoc: Reference lookup generated 9555 rows. Only the last row was used. I tried in select s...
by somu_june
Thu Mar 29, 2007 4:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to extract Valid Date format records
Replies: 3
Views: 1104

Hi us1alslam1us,

Thanks for solving my problem.








Thanks,
Somaraju.
by somu_june
Thu Mar 29, 2007 3:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to extract Valid Date format records
Replies: 3
Views: 1104

Hi DSguru,

Iam geting the same error and records are going to other/log condition and the error Iam getting after using %yyy-%mm-%dd format is

Error

APT_CombinedOperatorController,0: The schema type "date" does not take parameters "%yyy-%mm-%dd"


Thanks,
somaraju
by somu_june
Tue Mar 20, 2007 4:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Filter certain Date values
Replies: 13
Views: 5253

Hi,


Iam getting the same varchar as the input.





Thanks,
Raju
by somu_june
Tue Mar 20, 2007 12:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Filter certain Date values
Replies: 13
Views: 5253

Hi , while I am using this function StringToDate(in.date, "%yyyy-%mm-%dd") in the target flat file I mentioned the datatype as Date and length as 10 and when I ran the job it is showing that records are processed and when I open the file with view tab it is giving the following warning <Se...
by somu_june
Thu Mar 08, 2007 10:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Disabling Memory sharing
Replies: 1
Views: 853

Disabling Memory sharing

Hi, I have a job and Iam using a transformer stage and Remove duplicates stage in the job and using Hash partition to partition on key1. When Iam running the job it is giving an warning saying Transformer_3: Input dataset 0 has a partitioning method other than entire specified; disabling memory shar...
by somu_june
Thu Feb 15, 2007 10:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: If then else problem
Replies: 2
Views: 967

Hi,


Thanks for solving my problem






Somu
by somu_june
Thu Feb 15, 2007 9:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: If then else problem
Replies: 2
Views: 967

If then else problem

Hi, I have defined a stage variable Region and it is char and length 20 and in derivation section I defined as IF src.country = 'IN' then 'ASIA' Else if src.country = 'GE' then 'EUROPE' Else if src.country = 'US' then 'North America' Else 'Dummy' and source country column is char(30) But Iam getting...