Hi,
I am trying to use below syntax is sequence its not liking it any idea why
if DSJobInvocationId = 'AM' then ('AM', 'NA') else if DSJobInvocationId = 'AP' then ('AP','JN') else ('EN', 'EW', 'EM')
Search found 200 matches
- Thu May 17, 2012 12:54 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: getting syntax error
- Replies: 3
- Views: 1270
- Tue May 08, 2012 6:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: conversation of current_timestamp
- Replies: 7
- Views: 3029
- Tue May 08, 2012 10:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: conversation of current_timestamp
- Replies: 7
- Views: 3029
conversation of current_timestamp
Hi,
I am using current_timestamp in transformer which gives ouput 2012-05-05 08:05:37
user want it to be 05/05/2012 08:05:37 . Any idea who should i do it in transformer.
Thanks
I am using current_timestamp in transformer which gives ouput 2012-05-05 08:05:37
user want it to be 05/05/2012 08:05:37 . Any idea who should i do it in transformer.
Thanks
- Fri Apr 13, 2012 8:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: nulltovalue
- Replies: 5
- Views: 3473
- Thu Apr 12, 2012 12:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: nulltovalue
- Replies: 5
- Views: 3473
nulltovalue
Hi,
i was getting column null error so i did NullToValue(to_transf.COUNTRY_CODE,'WW') and now i am getting
Transform,0: Fatal Error: Null value on the accessor interfacing to field "COUNTRY_CODE"
Thanks
i was getting column null error so i did NullToValue(to_transf.COUNTRY_CODE,'WW') and now i am getting
Transform,0: Fatal Error: Null value on the accessor interfacing to field "COUNTRY_CODE"
Thanks
- Wed Apr 11, 2012 7:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: in stmt
- Replies: 5
- Views: 2207
in stmt
Doing below in transformer its not liking it
IF to_transf.COUNTRYCODE IN("US","CA") AND to_transf.COUNTRY_CODE IN("US,"CA") THEN '2'
ELSE '3'
IF to_transf.COUNTRYCODE IN("US","CA") AND to_transf.COUNTRY_CODE IN("US,"CA") THEN '2'
ELSE '3'
- Mon Apr 02, 2012 6:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: append four files
- Replies: 12
- Views: 3768
- Mon Apr 02, 2012 6:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: append four files
- Replies: 12
- Views: 3768
- Mon Apr 02, 2012 6:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: append four files
- Replies: 12
- Views: 3768
- Mon Apr 02, 2012 5:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: append four files
- Replies: 12
- Views: 3768
- Mon Apr 02, 2012 5:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: append four files
- Replies: 12
- Views: 3768
append four files
Hi,
How can i append 4 .txt files in a db2 table all four files have same columns.
Thanks
How can i append 4 .txt files in a db2 table all four files have same columns.
Thanks
- Fri Jan 20, 2012 6:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: remove records based upon constraint
- Replies: 6
- Views: 2491
- Fri Jan 20, 2012 2:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: remove records based upon constraint
- Replies: 6
- Views: 2491
remove records based upon constraint
Hi,
I am trying to remove records from incoming stream in transformer
doing below code as i don't want Agent as output and its not working
(to_transf.STATUS= 'Agent')<>0
I am trying to remove records from incoming stream in transformer
doing below code as i don't want Agent as output and its not working
(to_transf.STATUS= 'Agent')<>0
- Thu Jan 05, 2012 10:33 am
- Forum: General
- Topic: job ran based upon query result
- Replies: 7
- Views: 3058
- Wed Jan 04, 2012 6:52 pm
- Forum: General
- Topic: job ran based upon query result
- Replies: 7
- Views: 3058