Search found 141 matches

by scorpion
Mon Sep 03, 2007 3:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: if then else
Replies: 11
Views: 24838

Hi Abu,

Thanks for the reply,below is my exact reqrmnt:

if the value of the ColumnA = 'dsx' then populate TARCOL1,if this is blank THEN populate TARCOL2.if this column also blank then populate TARCOL3.

Could you please advise on this?

Sorry for the confusion..
by scorpion
Mon Sep 03, 2007 3:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: if then else
Replies: 11
Views: 24838

HiAll ,

In my requirement i need to use 2 else statements..

if the value of the ColumnA = 'dsx' then populate TARCOL1,if this is blank THEN populate TARCOL2.if this column also blank then populate TARCOL3.

any Advises please?
by scorpion
Mon Sep 03, 2007 3:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: if then else
Replies: 11
Views: 24838

if then else

Hi,

I am looking for simple IF-THEN-ELSE Logic for my below reqrment...

Could any one help me on this please..

if column1 = 'DSX' Then 'Datastage' Else 'Dstage' Else 'Ascential'

how do i keep im if then else in transformer?

Thanks all!
by scorpion
Thu Aug 30, 2007 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase date time
Replies: 3
Views: 1537

Thanks for the reply Ray,


I tried to run the qry like below using my SQLAdvantage tool in my sybase database:

where DTTTM = 'Dec 31 3999 12:00AM'


but i am wondering will this work on datastage?

any suggestions--
by scorpion
Thu Aug 30, 2007 3:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase date time
Replies: 3
Views: 1537

Sybase date time

Hi All, I am using Sybase as my source database tables and datasets are my target files. In one of my sybase table column like'DTTM' and the value for this column like: 'Dec 31 3999 12:00AM' 'Jan 23 2015 09:00 AM' 'Feb 28 2010 10:00 AM' 'Dec 31 3999 12:00AM' But i need to extract records where DTTTM...
by scorpion
Sat Aug 18, 2007 3:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Stage error
Replies: 12
Views: 4217

Hi All, I got the solution for this issue,actually one of my column in my sybase table is having datatype as 'float-8',but i am extracting this column as 'decimal',this was giving the issue, when i tried extracting the column with datatype as 'double' ,it is extracting all the records now. I dont un...
by scorpion
Thu Aug 16, 2007 12:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Stage error
Replies: 12
Views: 4217

Hi,

there are no warning/error messages in the log,about this perticular sybase source stage.

And I have checked imported metadata,and As Arnd suggested added some records to the current table and the issue is remaining same.

any thoughts?
by scorpion
Thu Aug 16, 2007 11:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BusinessDate vs SystemDate
Replies: 2
Views: 1357

Thanks Maveric it resolved...
by scorpion
Thu Aug 16, 2007 11:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Stage error
Replies: 12
Views: 4217

Can any one faced before this kind of issue?

Help me on this..
by scorpion
Thu Aug 16, 2007 5:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Stage error
Replies: 12
Views: 4217

Hi, I am still facing same issue...? SELECT * FROM xxx WHERE LST_UPDT_DTTM<= "#To_Date_Parm#" AND LST_UPDT_DTTM>"#From_Date_Parm#" and the values of To_Date and From_Date parameters i am passing same values which are in my parameterfile when i run qry in database. when i run data...
by scorpion
Thu Aug 16, 2007 5:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: BusinessDate vs SystemDate
Replies: 2
Views: 1357

BusinessDate vs SystemDate

Hi All, I am trying to populate one of my target column by using below logic: If (DUE_STLMT_DT + 2415021) > JulianDayFromDate(CurrentDate()) Then 'U' Else If (DUE_STLMT_DT + 2415021)<=JulianDayFromDate(CurrentDate()) Then 'S' Else '' But the problem with above code is: when the job runs midnight it ...
by scorpion
Wed Aug 15, 2007 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Stage error
Replies: 12
Views: 4217

No Ray, when i tried to see the process of records by clicking'show performance statstics' it is displaying records as 10000. and i am getting in my target file also as 10000 records only. my job is like: sybasestage----->transformer---->dataset sybase stage transferring only 10000records instead of...
by scorpion
Wed Aug 15, 2007 2:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DerivationStatement
Replies: 3
Views: 2731

Thanks Ray...
by scorpion
Tue Aug 14, 2007 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DerivationStatement
Replies: 3
Views: 2731

DerivationStatement

Hi, I have 2 source fields: AAA, BBB my target field name is: XXX The logic to populate XXX target column like below: if AAA = 255 ( BBB<0 THEN populate XXX= LOSS,but IF BBB >0 then populate XXX=PROFIT) Else other than AAA=255 VALUES leave it blank. Can any one help me to apply this in IF-THEN-ELSE ...
by scorpion
Tue Aug 14, 2007 9:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sybase Stage error
Replies: 12
Views: 4217

Sybase Stage error

Hi All, I am using Sybase database table as my Source table and i have a user defined query in my source sybase stage. When i fire the query to dabase i am getting like 20,000 records .but in my datastage i am getting 10000 records. Can any one have any idea on this. the query which i fire on my dat...