I have source data loaded into an Oracle database. The fields I want to convert are defined as number(7) which are defined in my metadata as integers. The format of the date is YYYYDDD. What is the best way of converting them to dates in DataStage?
Thanks for all the help.
Search found 181 matches
- Wed May 03, 2006 7:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Converting integer to date
- Replies: 3
- Views: 1314
- Wed May 03, 2006 12:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage warning
- Replies: 5
- Views: 2613
- Wed May 03, 2006 11:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage warning
- Replies: 5
- Views: 2613
- Wed May 03, 2006 10:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Datastage warning
- Replies: 5
- Views: 2613
Datastage warning
I have read through previous posts for this but I don't understand why I am getting this warning. I have a job, sequential file->surrogate key generator -> Oracle Enterprise. In the sequential file I have 2 fields relationship_code and relationship_description, In the surrogate key stage I define a ...
- Wed May 03, 2006 7:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Keywords
- Replies: 10
- Views: 3607
- Tue May 02, 2006 2:06 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date functions
- Replies: 3
- Views: 1010
- Tue May 02, 2006 1:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date functions
- Replies: 3
- Views: 1010
Date functions
Hi all,
I am looking for a way to calcuate the week of the month For example, 4/01/06 would calulate to week 1, while 4/8/06 would calculate to week 2.
Is there a function in DataStage to do this?
Thanks
I am looking for a way to calcuate the week of the month For example, 4/01/06 would calulate to week 1, while 4/8/06 would calculate to week 2.
Is there a function in DataStage to do this?
Thanks
- Tue May 02, 2006 7:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Dates in PX
- Replies: 2
- Views: 1285
- Tue May 02, 2006 7:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Keywords
- Replies: 10
- Views: 3607
- Mon May 01, 2006 4:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Dates in PX
- Replies: 2
- Views: 1285
Dates in PX
I have dates in the following format coming in as source data: YYYYDDD. Where ddd= the day of the year. When I output these dates to our warehouse I know I will have to convert them, but I also have values of 0 in these fields which I would like to convert to null. Is there anyway to do this in PX w...
- Mon May 01, 2006 4:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Keywords
- Replies: 10
- Views: 3607
- Mon May 01, 2006 3:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Keywords
- Replies: 10
- Views: 3607
- Mon May 01, 2006 12:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Keywords
- Replies: 10
- Views: 3607
Oracle Keywords
Hi there, I have a table I am loading with a column named year. However the word year is a keyword in Oracle so I get the following error: Oracle_Time,0: SQL*Loader: Release 10.2.0.1.0 - Production on Mon May 1 14:06:52 2006 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL*Loader-350: Synt...
- Thu Apr 27, 2006 2:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Support for Oracle Partitioning
- Replies: 2
- Views: 1279
fyi on this issue: I just talked to IBM support. This is going in as a enhancement request. Until then, I have scripted a work around. The workaround will load the table into a temporary normal table with a primary key. I then use the alter table exhchange partition...including indexes to move the d...
- Wed Apr 26, 2006 1:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Execute command with sequnce
- Replies: 5
- Views: 2202