Hi,
Thanks for reply.
This means if my source data is like 21-03-11 then it should be
StringtoDate(Columnname,"%dd-%mm-%yy") and output will be as
21-03-2011.
Thanks,
Santosh
Search found 97 matches
- Mon Nov 21, 2011 1:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date datatype conversion
- Replies: 4
- Views: 2758
- Sun Nov 20, 2011 11:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date datatype conversion
- Replies: 4
- Views: 2758
Date datatype conversion
Hi, I reading from Oracle database and loading into sequecial file. From Oracle source Date is coming as 21-03-11 15-04-00 16-11-81 and we need output as 21-03-2011 15-04-2000 16-11-1981 I am trying to function StringtoDate(Columnname,"%dd-%mm-%yyyy"). But its not getting converted in requ...
- Wed Mar 23, 2011 9:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fetch seven days old data
- Replies: 5
- Views: 3161
- Wed Mar 23, 2011 9:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Fetch seven days old data
- Replies: 5
- Views: 3161
Fetch seven days old data
Hi Team, We have a requirement to develop a datastage job which fetch 7 days old data in every run. Our source in DB2. I have tried below user defined query in DB2 Select * from Temptable where effdate >'#BIzDate#-7' and effdate <='#BIzDate#' But it did not work. BIzDate is a parameter which we are ...
- Thu Jan 20, 2011 1:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SetNull() Function in stage variable
- Replies: 3
- Views: 4943
SetNull() Function in stage variable
Hi, We are using the derivation in stage varibale as If (IsNull(LNK_SRC.PARTY_NO=1)) Then SetNull() Else LNK_SRC.PARTY_NO. We are getting compilation error as "##E IIS-DSEE-TFEV-00026 12:11:59(010) <transform> Error when checking composite operator: Setting null to this non-nullable field: Stag...
- Thu Jan 20, 2011 12:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pivoting of Data
- Replies: 4
- Views: 2909
- Wed Jan 19, 2011 4:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pivoting of Data
- Replies: 4
- Views: 2909
- Wed Jan 19, 2011 1:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pivoting of Data
- Replies: 4
- Views: 2909
Pivoting of Data
Hi Team, We have a typical requirement. Source data is comming in format- PA_No AC_NAME AC_NO 123 d1#d2#d3 30#45#75 145 c1#c2#c3 10#20#25 We need to populate in target as PA_No AC_NAME AC_NO 123 d1 30 123 d2 45 123 d3 75 145 c1 10 145 c2 20 145 c3 30 We need to implement this logic in datastgae. Any...
- Fri Jan 07, 2011 8:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: String To Timestamp conversion
- Replies: 6
- Views: 9971
- Fri Jan 07, 2011 6:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: String To Timestamp conversion
- Replies: 6
- Views: 9971
String To Timestamp conversion
Hi Team, We have a job to laod data from Taradata table to table. We are facing problem with the timestamp column. Our source table is having all the columns as varchar even the date/timestamp column. Data in source is like '17-APR-10' and we have to load in format "2010-04-17 00:00:00". W...
- Tue Jan 04, 2011 11:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning while using Teradata Connector -RCP enabled
- Replies: 9
- Views: 9207
- Tue Jan 04, 2011 4:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning while using Teradata Connector -RCP enabled
- Replies: 9
- Views: 9207
- Tue Jan 04, 2011 12:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning while using Teradata Connector -RCP enabled
- Replies: 9
- Views: 9207
- Mon Jan 03, 2011 12:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning while using Teradata Connector -RCP enabled
- Replies: 9
- Views: 9207
Any transformation must have the column(s) to which it applies present on the Transformer stage input link - it must be there explicitly, it cannot be provided via RCP. So, unless this transformation ... . Hi Ray, You are correct. I have mentioned that coulmn (Job_EXECUTION_ID) explicity in the tra...
- Fri Dec 31, 2010 12:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning while using Teradata Connector -RCP enabled
- Replies: 9
- Views: 9207
Do you have a particular need to have RCP enabled? ... Actully our parallel job is a generic job, where at run time we just passing source and target table name from parameter. We are not loading the source and target metedata in the JOB. If I do not enable RCP, we need to load metedata for each co...