Search found 60 matches
- Fri Jun 14, 2013 4:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue in using @INROW function
- Replies: 9
- Views: 5327
Issue in using @INROW function
Hi All, I'm using the function @PARTITIONNUM + (@NUMPARTITIONS * (@INROWNUM - 1)) + 1 to generate sequence number but in middle my job is skipping sequence numbers. from 1 to 156 its coming correctly but after 156 its an issue as below: 0000155 0000156 0000158 0000159 0000160 0000162 0000163 0000164...
- Tue Jun 11, 2013 7:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: need to convert days to date
- Replies: 1
- Views: 1167
need to convert days to date
Hi All, I have a requirement where i get values from my source file as: 13002 13020 13037 my o/p will be: 2013-01-02 2013-01-20 2013-02-06 which means from source, 1st 2 chars ie, 13 indicates 2013 and next 2 chars indicates date and month, say: 02 -> 2-Jan 20 -> 20-Jan 33 -> 6-Feb How can I achieve...
- Mon May 27, 2013 7:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue with Timezone date format
- Replies: 4
- Views: 2086
- Fri May 24, 2013 7:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue with Timezone date format
- Replies: 4
- Views: 2086
Issue with Timezone date format
Hi All, When i execute the below sql query in oracle database i get the following output: select FROM_TZ(CAST(TO_DATE(TO_CHAR(sysDate,'YYYY-MM-DD HH24:MI:SS'),'YYYY-MM-DD HH24:MI:SS') AS TIMESTAMP), 'Europe/London') AT TIME ZONE 'GMT' from dual; output: 24-MAY-13 01.26.23.000000000 PM GMT When i run...
- Thu May 02, 2013 3:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to find Last sunday of a month
- Replies: 4
- Views: 1864
- Thu May 02, 2013 1:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to find Last sunday of a month
- Replies: 4
- Views: 1864
How to find Last sunday of a month
Hi All,
My requirement says:
my output column should be 1 from Last sunday of March till last sunday of October and other times it will be 0.
How to do this logic in transformer?
Thanks in Advance,
My requirement says:
my output column should be 1 from Last sunday of March till last sunday of October and other times it will be 0.
How to do this logic in transformer?
Thanks in Advance,
- Tue Apr 30, 2013 4:14 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: varchar to char issue in fixed length target sequential file
- Replies: 1
- Views: 1239
varchar to char issue in fixed length target sequential file
Hi All, My source is coming from oracle database and my target is Fixed length sequential file. my source column col1 is varchar(60) and target column will be char(60). i'm getting NULL values from source and my job is aborting. In SEQ stage, under format tab i gave in NULL FIELD VALUE=' ' in Field ...
- Thu Apr 25, 2013 4:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Needed decimal value in 99,999,999 format
- Replies: 7
- Views: 2165
- Wed Apr 24, 2013 11:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Needed decimal value in 99,999,999 format
- Replies: 7
- Views: 2165
Needed decimal value in 99,999,999 format
Hi All,
I need to perform sum(col1) group by col2 in oracle and that value i need to fetch as comma delimited like 99,999,999.
my source column col1 is decimal(22,5) and my target column is varchar2(10).
Is there any way to do this in transformer?
Thanks in Advance,
I need to perform sum(col1) group by col2 in oracle and that value i need to fetch as comma delimited like 99,999,999.
my source column col1 is decimal(22,5) and my target column is varchar2(10).
Is there any way to do this in transformer?
Thanks in Advance,
- Wed Apr 24, 2013 4:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: NULL record dropped issue for decimal to varchar col
- Replies: 6
- Views: 2749
- Wed Apr 24, 2013 3:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: NULL record dropped issue for decimal to varchar col
- Replies: 6
- Views: 2749
- Wed Apr 24, 2013 3:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: NULL record dropped issue for decimal to varchar col
- Replies: 6
- Views: 2749
NULL record dropped issue for decimal to varchar col
My reference ora stage contains a column salarythousands with decimal datatype Im performing left outer join of above reference ora stage with my source ora stage and passing field value to transformer. in transformer im doing calculation as: stagevariable1 with datatype decimal 11, stagevariable1 =...
- Thu Apr 18, 2013 7:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate() issue in transformer stage
- Replies: 5
- Views: 2772
- Thu Apr 18, 2013 2:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate() issue in transformer stage
- Replies: 5
- Views: 2772
StringToDate() issue in transformer stage
Hi All,
I used StringtoDate function in transformer stage as below:
StringToDate(Convert('-','',CurrentDate()),"%yyyy%mm%dd")
But in the target date still comes with yyyy-mm-dd format. Unable to understand the issue.
Thanks in Advance,
I used StringtoDate function in transformer stage as below:
StringToDate(Convert('-','',CurrentDate()),"%yyyy%mm%dd")
But in the target date still comes with yyyy-mm-dd format. Unable to understand the issue.
Thanks in Advance,
- Tue Apr 16, 2013 3:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: issue in using date_from_string in modify stage
- Replies: 3
- Views: 1356