Search found 145 matches
- Fri Nov 17, 2017 5:48 pm
- Forum: General
- Topic: Loop Through Columns to change type and length
- Replies: 12
- Views: 5832
Loop Through Columns to change type and length
Hi guys, Is it possible to loop through the columns of a source and change the type and length of all columns of a particular type? Say for example I wanted to change all Character type columns to VarChar(256), is there an automated way to do that? Currently I have been doing this in a transform sta...
- Thu Nov 16, 2017 11:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Last Day of Month Future Past Derivation?
- Replies: 5
- Views: 3805
- Wed Nov 15, 2017 11:41 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Last Day of Month Future Past Derivation?
- Replies: 5
- Views: 3805
Hi again qt_ky! This is indeed for a parallel job, I found the functions necessary are not available in sequence jobs. I was able to take your direction there and get something working rather well! I had some other things I needed to do as well and was able to apply similar logic. What I have done s...
- Mon Nov 13, 2017 10:07 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Last Day of Month Future Past Derivation?
- Replies: 5
- Views: 3805
Last Day of Month Future Past Derivation?
Hi guys, I am working on replicating some trending jobs from our old data warehouse system. Those jobs had to be run manually and the last day of the month manually entered as the trending date. The issue is that sometimes the trend was run before or after the actual last day of month depending on w...
- Tue Oct 31, 2017 2:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion issues
- Replies: 24
- Views: 13391
- Mon Oct 30, 2017 9:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion issues
- Replies: 24
- Views: 13391
asorrell, I can and will absolutely do suggestion 1, I didnt think of that as I had my mind stuck on them having to be in that order, but that was before I was doing date within 100 years past/future checking. This SHOULD help a lot I think. I will definitely look into Suggestion 2, however I believ...
- Fri Oct 27, 2017 9:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion issues
- Replies: 24
- Views: 13391
qt_key, Thank you for that suggestion! I did set a StageVar for the YearsInFuture/Past values but I did make the mistake of putting in the actual derivation to get that value both in the default value and the Derivation so yes that would make sense that it would be recalculating that every time. The...
- Thu Oct 26, 2017 2:28 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion issues
- Replies: 24
- Views: 13391
- Thu Oct 26, 2017 12:59 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion issues
- Replies: 24
- Views: 13391
chulett, I will give that a shot and see how that performs. Could you elaborate on what IsValidDate is doing that I am misunderstanding? based on the following KB, it seems that the only difference between IsValid() with date type specified and IsValidDate() is that IsValid does not log warnings, wh...
- Thu Oct 26, 2017 11:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date Conversion issues
- Replies: 24
- Views: 13391
Date Conversion issues
Hi everyone, new here. I am attempting to bring in dates to our datawarehouse, the issue that I have is that these dates are free form decimal of varying formats. Some may be %yyyy%ddd, others %mm%dd%yyyy, and still others are %mm%dd%yy. The biggest issue is that I can have multiple "formats&qu...