Search found 42189 matches

by chulett
Fri Apr 21, 2006 1:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date as Parameter
Replies: 2
Views: 1002

Make sure your incoming date format matches your mask and put single ticks around the parameter as well.

Code: Select all

SELECT COL1,COL2,COL3 
FROM TABLE
WHERE UPD_DATE < TO_DATE('#date1#','YYYY-MM-DD')
by chulett
Fri Apr 21, 2006 1:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure
Replies: 7
Views: 4771

Not really sure, but just went thru this exercise in frustration quite recently, needing to analyze some tables. For whatever reason, it would only work in an anonymous block for us and the only way to accomplish that was in the SP stage. Be glad to be proven wrong but that's the conclusion we came ...
by chulett
Fri Apr 21, 2006 12:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stored Procedure
Replies: 7
Views: 4771

The only way you'll be able to get that to work is via the Stored Procedure stage as it needs to be executed in an anonymous block. The 'normal' call syntax won't work.
by chulett
Fri Apr 21, 2006 12:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable declaration in BASIC
Replies: 2
Views: 1501

It's not like COBOL. There's no "working storage" and variables do not need to be explicitly declared. Also, there is no size or type associated with variables. Best to initialize them to a value so they start off live in a known state, however. Are you sure you need to go this route, however? Are y...
by chulett
Fri Apr 21, 2006 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: HOW TO CAPTURE DATABASE CONNECTION ERROR
Replies: 8
Views: 1801

FYI - Typing in all caps is fine for a COBOL program, but on the web it is considered SHOUTING. Please use your 'inside voice' here. :wink:
by chulett
Fri Apr 21, 2006 6:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Where can I find the code for KBATimestampDeltaSeconds
Replies: 3
Views: 971

The 'KB' part of 'KBA' is Ken Bland. From his profile or any post here, you should be able to find his website.

From there, you can look into downloading the KBA suite of routines.
by chulett
Fri Apr 21, 2006 5:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence Aborting
Replies: 13
Views: 2920

The job is being used in a few another job sequences. But at the time I am running that job no other sequence is getting executed. Ok, that's good to know. Now you need to follow what Ray posted - take the job number, use his query to get the name associated with that number and clear that job's lo...
by chulett
Fri Apr 21, 2006 5:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: aborting jobs when data source empty
Replies: 13
Views: 3183

i wonder how you can make Execute Command activity fail/pass if source file is empty/full. By checking the result of the command. Perhaps it counts the number of records in the file, so you check to see if the returned value is 0 or >0. Perhaps it simply tests to see if the file exists and is empty...
by chulett
Thu Apr 20, 2006 9:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Performance Issue in Datastage Server Edition
Replies: 13
Views: 3132

As there is always a problem of scalability with Hash files and also the tables on which we are doing a lookup are monstoor dimensions- So we can't do without it. As a DataStage Consultant, you need to have more faith in hashed files. Ken Bland has a great writeup on them in one of the recent Newsl...
by chulett
Thu Apr 20, 2006 9:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence Aborting
Replies: 13
Views: 2920

Ah... skipped right over that line. Doh.
by chulett
Thu Apr 20, 2006 9:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using sequence in Datastage Sequencer
Replies: 3
Views: 1136

And yes. :wink:
by chulett
Thu Apr 20, 2006 9:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cartesian processing in datastage
Replies: 10
Views: 3595

True, but I don't recall an option to give you a cartesian product between the two files. I would also think it would be... slower, depending on the file sizes involved. :?
by chulett
Thu Apr 20, 2006 9:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence Aborting
Replies: 13
Views: 2920

You didn't answer the question.
by chulett
Thu Apr 20, 2006 8:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence Aborting
Replies: 13
Views: 2920

'Not a runnable job' doesn't just mean 'aborted'... it can also mean uncompiled or even running - which I'm guessing is what's going on here.

Is this 'Hash Calendar' job run in multiple Sequence jobs?
by chulett
Thu Apr 20, 2006 8:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cartesian processing in datastage
Replies: 10
Views: 3595

Load them into two work tables in your database of choice and then do the cartesian product when extracting for the processing step.