Search found 42189 matches

by chulett
Wed Aug 04, 2010 6:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable substitution in Job Control ?
Replies: 9
Views: 3560

It's not, but... thanks! :oops:



:wink:
by chulett
Wed Aug 04, 2010 6:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable substitution in Job Control ?
Replies: 9
Views: 3560

Ah... sorry, more of an indirect method, it seems. Should have looked more closer at the example. :wink:
by chulett
Wed Aug 04, 2010 6:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Setting Parallel in Oracle Bulk Load
Replies: 3
Views: 1354

For Oracle those two terms are synonymous and the log file should be in your "scratch" area, from what I recall.
by chulett
Wed Aug 04, 2010 6:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To remove previous job logs
Replies: 11
Views: 3126

Nothing posted but did find this in my archives, hopefully Ken doesn't mind it gettting posted here. Be careful with this as it could destroy more than it fixes if you get something wrong. Also note it was create for versions prior to 8.x so no guarantees with the latest and greatest. You'll need to...
by chulett
Wed Aug 04, 2010 5:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: To remove previous job logs
Replies: 11
Views: 3126

In your version, project level Auto-Purge settings are only for new (or newly imported) jobs, it does not apply to all existing jobs immediately. I believe that Ken posted some job code that will take values and retroactively apply them across all existing jobs, I'll search for that.
by chulett
Wed Aug 04, 2010 5:51 am
Forum: General
Topic: Regarding Testing of CheckPoint in Sequence
Replies: 2
Views: 1473

Agreed. I usually create small jobs that do nothing but work fine, finish with warnings or abort on command for this. Once I'm sure the Sequence structure is working, I sub in the 'real' jobs. :wink:
by chulett
Wed Aug 04, 2010 5:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 15187

Your solution has already been posted here - twice now - first by myself and then again by arunpramanik. Read and apply that advice. The only thing we've had to guess on are your actual key fields but I think it's a pretty good guess. :wink:
by chulett
Wed Aug 04, 2010 5:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable substitution in Job Control ?
Replies: 9
Views: 3560

If by "job control" you mean in some hand-coded BASIC, you can just do the assignment without any "eval" needed: varC = varB, for example. If that's not working for you, we would need more details as to why not.
by chulett
Wed Aug 04, 2010 5:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file Problem
Replies: 1
Views: 1298

Typically that would be a trimming problem, one or both sides have extra spaces so "XXX" doesn't match to "XXX ", for example. Triple-check that that's not the case.
by chulett
Wed Aug 04, 2010 5:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing parameter
Replies: 5
Views: 2723

What part are you having a problem with? :? Create two job parameters and include them in your SQL with pound/hash signs like normal. You'll need to create a mechanism to store the last value then retrieve and increment it properly, of course. That could be as simple as a flat file that you read and...
by chulett
Wed Aug 04, 2010 5:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get the last word after space
Replies: 4
Views: 2236

One solution: use DCount() to get the number of fields then use that count in the Field() function to get the last field:

Code: Select all

Field(YourField," ",DCount(YourField," "),1)
by chulett
Tue Aug 03, 2010 5:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to remove special character through transformor stage
Replies: 2
Views: 1067

Nothing really special about them so use the Convert() function to remove them:

Code: Select all

Convert("<>","",YourField)
Off the top of my head.
by chulett
Tue Aug 03, 2010 4:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to fire an update query using datastage job?
Replies: 23
Views: 15187

It does but not one they could actually use, seeing as how that one column essentially needs to be both a key and a non-key.
by chulett
Tue Aug 03, 2010 4:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: tricky job
Replies: 10
Views: 3159

The dsjob Command Line Interface is fully documented, plus has full 'usage' statements if you run it with missing arguments like any good UNIX command. So you need to do some research, as noted check on the following options: dsjob -ljobs dsjob -jobinfo Between those two you'll get everything you ne...