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..
Search found 141 matches
- 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
- 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
- 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!
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!
- 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
- 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...
- 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...
- 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
- 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
- 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
- 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
- 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 ...
- 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...
- Wed Aug 15, 2007 2:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DerivationStatement
- Replies: 3
- Views: 2731
- 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 ...
- 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...