Search found 4605 matches

by kduke
Thu Oct 21, 2004 6:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: parameter in job sequence
Replies: 3
Views: 841

I do this in 2 steps. The first job posts the result to a hash file then this routine reads from this hash file and sets a parameter value. All jobs in this sequence which start after this routine activity will get the new parameter value. You can modify this routine to get the value from what ever ...
by kduke
Wed Oct 20, 2004 10:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Finding and correcting 'data type mismatch' message
Replies: 2
Views: 842

I have been thinking about this for a while now. I think it is possible to build this utility. I think it would be easy to start with sequential nad hash files. Lets say you find all jobs that read or write to a specific hash file and compare their metadata and show all discrepencies. I would think ...
by kduke
Wed Oct 20, 2004 3:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Default values in target database
Replies: 4
Views: 1443

You can change your metadata to be nullable. You could change your derivation to check for null.

if IsNull(input.column) then "default value" else input.column
by kduke
Wed Oct 20, 2004 3:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSGetLinkInfo with in a shared Container
Replies: 5
Views: 1591

"Stage Name" has to be the name of a real stage in your job. Same for link name.
by kduke
Wed Oct 20, 2004 3:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion
Replies: 4
Views: 1327

I think all you need is to add the time like

NewDate = OldDate : " 00:00:00"

Do a search for iconv or oconv
by kduke
Wed Oct 20, 2004 2:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion
Replies: 4
Views: 1327

I think there are routines for SQL Server dates included in the SDK. This topic has been covered a lot. If you do a search and still cannot find it then let us know. I think you are missing the time portion. It is a timestamp in SQL Server, correct?
by kduke
Wed Oct 20, 2004 10:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cross reference meta-data with jobs
Replies: 4
Views: 1271

Craig is correct. Where you import your columns from is buried in the DS_JOBOBJECTS records. You could hack it. It just shows you the original import name from DS_METADATA. I am not sure if you import again if this gets over written or tracked separately. In doc_tool.mdb all the columns for all the ...
by kduke
Mon Oct 18, 2004 6:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting up Account Name in Hash File Stage
Replies: 5
Views: 948

You could also hack the DS_JOBOBJECTS file. Of course this may violate your license agreement but how do you think we learned it.
by kduke
Mon Oct 18, 2004 6:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to populate "SDKSequences" to get correct KeyM
Replies: 3
Views: 1051

We have one job which populates this table. It has several parameter but 2 important ones.

select max(#SurrogateKey#) from #TableName#

The key to SDKsequences is the parameter SurrogateKey.
by kduke
Mon Oct 18, 2004 2:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Updating a single column in a hash file.
Replies: 3
Views: 842

Change it to a UV stage. You can do any kind of SQL against it then. Another way is to exec a TCL command and give it an update statement.
by kduke
Mon Oct 18, 2004 12:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Complex Routine
Replies: 2
Views: 775

Ray

I think we need a magic function here. How long is this string?
by kduke
Mon Oct 18, 2004 12:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Setting up Account Name in Hash File Stage
Replies: 5
Views: 948

Ken

I think they want to know an automated way to change all the jobs from path to account. Is that correct?
by kduke
Mon Oct 18, 2004 5:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Default Poll Time in the 'Wait For File Activity' stage
Replies: 6
Views: 1692

Thanks. I need a good laugh every Monday morning. Start my week off right.
by kduke
Sun Oct 17, 2004 9:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Default Poll Time in the 'Wait For File Activity' stage
Replies: 6
Views: 1692

Geez Craig, trying to raise your points. We will never catch you anyway. Neat trick answering your own questions.
by kduke
Sun Oct 17, 2004 9:23 pm
Forum: Site/Forum
Topic: Documentation Techniques and Processes
Replies: 4
Views: 4057

Thanks. And the price is right too. They are free. Tony from ASCL wrote the JobReport routine. So I cannot change where the derivations print. I wrote a wrapper so it would run it for all the jobs and I wrote the routine documentation. Also an index to all the jobs and routines. It was fun. Learned ...