Search found 42189 matches

by chulett
Thu Mar 19, 2009 8:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter set used in Transformer = Compilation error
Replies: 13
Views: 3309

I'm assuming this advice is valid here as well: search the forums for information on the GetEnvironment() function and try using that.
by chulett
Thu Mar 19, 2009 8:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: passing parameter
Replies: 3
Views: 1166

A Sequence (no 'r') job can pass a parameter defined in it to both jobs. Do you mean pass a value created in one job to another? If so, one way would be via USERSTATUS, search the forums here for the 'how'. Another way would be to land it and have a RoutineActivity or ExecuteCommand stage pick up th...
by chulett
Thu Mar 19, 2009 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: failed to attach to project
Replies: 6
Views: 1677

Haven't heard this before. Which 8.x version are you running?
by chulett
Thu Mar 19, 2009 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using sequence job to read multiple files of directory
Replies: 18
Views: 10634

Yes, I too would prefer using "ls -m" here. And you wouldn't need to do anything special in the UserVariables stage other than fetch the list of all files, the StartLoop will (when set up properly) automatically iterate through the list and can pass in both one item from the list (in your ...
by chulett
Thu Mar 19, 2009 8:03 am
Forum: General
Topic: Error in stagevariable
Replies: 3
Views: 1156

And please learn that there's no need to explicitly set the output for a Boolean. All you need is "trans.empno=mast.empno" for the derivation, that "if-then-else" construct (while it does 'work') is completely unnecessary.
by chulett
Thu Mar 19, 2009 7:59 am
Forum: General
Topic: Appending leading Zeros and writting to excel file
Replies: 3
Views: 2294

This is a common problem for anyone creating 'Excel' files which a search here or a quick Google would turn up... and one not easily solved. Without a pre-formatted target and the GUI, Excel will always convert anything that looks like a number to a number during an import and remove any non-signifi...
by chulett
Thu Mar 19, 2009 7:51 am
Forum: General
Topic: Job Multiple Instance Fail
Replies: 24
Views: 10294

Ah... this has been discussed here before. So, I assume you enabled the RTLogging option, yes? Did you also end up running the mentioned script to create the auto-purge task?
by chulett
Thu Mar 19, 2009 7:48 am
Forum: General
Topic: Best practice to test BASIC code?
Replies: 5
Views: 1929

To expand on the transforms answer, since they can't be called you need to open up the transform and use the same code it uses directly in your code. As for testing BASIC code, I do a couple of things. One is the typical 'test' routine where I either build up the routine slowly, piece by piece, or j...
by chulett
Wed Mar 18, 2009 2:46 pm
Forum: General
Topic: generate HTML report in datastage
Replies: 22
Views: 17973

Ah... true. You need to use dsdesign.exe to get that HTML report, check this post for an example from Kim:

viewtopic.php?t=124036
by chulett
Wed Mar 18, 2009 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Webservices
Replies: 18
Views: 4983

'Set' in that case would mean create them in the Administrator. Not sure what their value should be, however.
by chulett
Wed Mar 18, 2009 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate Sequential Number using Parallel Transformer
Replies: 9
Views: 8517

Curious why you wouldn't use the Surrogate Key stage for something like this, seeing as how it does all that automagically? :?
by chulett
Wed Mar 18, 2009 2:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cobol over/under code
Replies: 5
Views: 1502

I'm wondering why you would need a routine when the stage will (allegedly) handle this for you... are people finding that not to be the case? :?
by chulett
Wed Mar 18, 2009 11:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting Parameter value into routine
Replies: 2
Views: 1033

Where are you doing this? In the 'current job' (which is what DSJ.ME is a handle for) you don't need to 'get' any job parameter, simply reference it by name, possibly surrounded by hash/pound signs: #RootFilePath#. This is also how one would pass a job parameter to a routine.
by chulett
Wed Mar 18, 2009 11:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Webservices
Replies: 18
Views: 4983

Did you read Ernie's blog entry?
by chulett
Wed Mar 18, 2009 11:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with sequential file and file name column
Replies: 10
Views: 2139

I'd also be curious what exact 7.x version you have and what UNIX platform you are on.