Search found 45 matches
- Tue Sep 20, 2011 10:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: LAST DAY of The Month given YEAR and MONTH
- Replies: 1
- Views: 1804
LAST DAY of The Month given YEAR and MONTH
Just wanted to share a solution. Input: YEAR=2011 (YYYY) MONTH=2/02 (M/MM) Output: Date 2011-02-28 Code: StgMonth If MONTH EQ 12 Then StringToDate(YEAR+1: "-" :"01": "-" :"01","%yyyy-%mm-%dd") ELSE StringToDate(YEAR: "-" :Right('00': ( MONT...
- Tue Feb 08, 2011 8:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate conversion problem
- Replies: 11
- Views: 9121
- Mon Feb 07, 2011 7:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate conversion problem
- Replies: 11
- Views: 9121
- Wed Feb 02, 2011 4:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datatype issue:
- Replies: 7
- Views: 3344
- Wed Feb 02, 2011 3:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datatype issue:
- Replies: 7
- Views: 3344
- Tue Sep 14, 2010 3:15 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Tue Sep 14, 2010 3:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Tue Sep 14, 2010 2:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Tue Sep 14, 2010 2:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Tue Sep 14, 2010 1:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Tue Sep 14, 2010 1:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Tue Sep 14, 2010 1:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting string to date!!
- Replies: 23
- Views: 11576
- Mon Sep 13, 2010 12:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim Issues while sending Data to Fixed length File
- Replies: 4
- Views: 2838
- Sat Aug 07, 2010 12:19 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim Issues while sending Data to Fixed length File
- Replies: 4
- Views: 2838
Trim Issues while sending Data to Fixed length File
The input Data comes as varchar(10) - TERADATA (SOURCE) col 0000 0009508 03669 08018 08065 0003065 09620 desired output ( i used char(5)) FIXED LENGTH FILE(TARGET) 00000 09508 03669 08018 08065 03065 09620 I have tried this code if (DSLink3.col) ='0000' Then '00000' else DSLink3.col[3,7] When the jo...
- Fri Mar 05, 2010 10:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SetNull() function - triggering ORCHESTRATE error
- Replies: 6
- Views: 12857