Search found 42189 matches

by chulett
Fri Mar 27, 2009 7:55 am
Forum: General
Topic: The 0 column(s) defined on this link do not match the 0 ...
Replies: 3
Views: 2555

Why doesn't DS just pass the text to the database, and let the database decide if it's valid syntax or not via whatever return code is passed back from the database? It's frustrating when code that works fine in the native database client fails in DS. I know, but you need to understand you're compa...
by chulett
Fri Mar 27, 2009 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deadlock condition when writing to SQL Server
Replies: 6
Views: 2943

I think that what is happening is DS runs the stages simultaneously, opening the connections to the database for all three scenarios above. No, it doesn't, and you should see that when the job runs. Meaning, you should see all rows go into the first ODBC stage and the input side of it close ('finis...
by chulett
Fri Mar 27, 2009 7:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a job for x number of lines in a file
Replies: 15
Views: 3467

And you don't need to get the count for the loop itself, it will figure that out on its own from the delimited list you send it.
by chulett
Thu Mar 26, 2009 8:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to see the project through dsjob -lprojects
Replies: 5
Views: 1805

Some projects? Not all minus your problem child? How many are showing / missing? :?
by chulett
Thu Mar 26, 2009 5:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing a job for x number of lines in a file
Replies: 15
Views: 3467

A Sequence job could use the UserVariables stage in conjunction with the Start/End Loop stages to pull this information out of the file and then iterate through the results. You could also build a Server job to read the file and then leverage the UtilityRunJob() function in the transformer to run an...
by chulett
Thu Mar 26, 2009 5:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtracting 2 dates in Transformer
Replies: 22
Views: 5054

Maybe so, but this is a discussion in the Server Edition forum on how to do this in a Server job, not a Parallel job. :wink:
by chulett
Thu Mar 26, 2009 4:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to see the project through dsjob -lprojects
Replies: 5
Views: 1805

When you do a "dsjob -lprojects" what does it show - anything? All of them with the exception of "myproject" or something else? Anything special or different about this one?
by chulett
Thu Mar 26, 2009 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: XML display problems
Replies: 5
Views: 1130

Show us the XPath Expressions you are using.
by chulett
Thu Mar 26, 2009 1:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Store value into a variable in a transformer
Replies: 2
Views: 1115

You don't need to store a value from every row into a stage variable, you can keep a value there and only update it when appropriate. Simply set the value to itself to leave it unchanged: svValue: If X Then Y Else svValue Another common 'trick' is to load something into a cached hashed file with a '...
by chulett
Thu Mar 26, 2009 9:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Roles and LDAP groups
Replies: 4
Views: 2048

Thanks for posting that, I'm sure it will. Seems you were taking point on this one. :wink:
by chulett
Thu Mar 26, 2009 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: awk in execute command activity
Replies: 9
Views: 3927

Split it up so that a part without parameters is in the Command box and the rest (the bit with parameters) is in the Parameter box. All the stage does is stick the two pieces together and then run it. The only 'trick' to know is when the very first bit (typically a path to a script) is a parameter, ...
by chulett
Thu Mar 26, 2009 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: searching for utlity DataStage Shell Integration
Replies: 2
Views: 1459

I used that... briefly, back in the day and uninstalled it shortly thereafter. All I remember as to the why is the pretty consistent way to would lock my machine up. :?
by chulett
Thu Mar 26, 2009 9:21 am
Forum: General
Topic: Global KeyMgtGetNextValueConcurrent
Replies: 5
Views: 1365

Hmmm... do you really need a q-pointer? Couldn't you somehow 'hard code' the account name of the hashed file in the routine? Much like specifying a specific account in the stage rather than leaving it blank. :?
by chulett
Thu Mar 26, 2009 9:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: getting rows between two dates
Replies: 11
Views: 3235

:shock: Sarcasm? I was dead serious about never having seen syntax like that and would love to be able to try it on my own to see the behaviour first hand (something I would always do in the past) but being out of work at the moment puts a little damper on that. Didn't say anything to the effect tha...