Search found 6797 matches

by DSguru2B
Fri Jun 15, 2007 7:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Populating Date/time values in CET format
Replies: 3
Views: 878

These functions are pretty swift. Before you can blink, it would process thousands of records and add 6 hours to it. Did you run a benchmark test for this. Just throw in a row generator, pass it through a transformer and add 6 hours to the current time. Test it out for your max anticipated number of...
by DSguru2B
Fri Jun 15, 2007 7:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 64bit hased file bad performance
Replies: 22
Views: 4848

Now, use the same data partitioning strategy in the job that references the hashed file. You use N instances of the same referencing job with the expression in a constraint to limit the rows processed by that instance (prior to the hashed reference of course). Ken, a follow up question. How exactly...
by DSguru2B
Fri Jun 15, 2007 7:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data Stage
Replies: 3
Views: 1323

ray.wurlod wrote:What a wonderfully useful Subject! (Not)
:twisted:

I see a Borat in you :wink:
by DSguru2B
Thu Jun 14, 2007 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parameter
Replies: 6
Views: 1439

Do a search in the pdf file.
The short example to pass parameters is

Code: Select all

dsjob -run -jobstatus -param Param1=Param1_value -param Param2=Param2_value projectname jobname
by DSguru2B
Thu Jun 14, 2007 1:38 pm
Forum: General
Topic: Error on hash files
Replies: 5
Views: 1134

Apply Trim() function on the keys. Because 'ABC' <> 'ABC '.
ANother possiblity might be that you are doing a group by operation, is there any chance of transforming a column that is being used as a key in the hashed file? If any single key is different, the lookup will fail.
by DSguru2B
Thu Jun 14, 2007 1:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate Records question
Replies: 7
Views: 1218

Pass your data through aggregator, group by FirstName, LastName and Street. Provide anything for ID, and provide MAX() for all the rest of the columns. Anything will be greater than a space or empty byte or even a null.
by DSguru2B
Thu Jun 14, 2007 12:50 pm
Forum: General
Topic: Error on hash files
Replies: 5
Views: 1134

Make sure your keys are trimmed, both for the source and lookup.
by DSguru2B
Thu Jun 14, 2007 12:27 pm
Forum: General
Topic: Commenting out Stages in Datastage.
Replies: 5
Views: 2103

I am afraid there is no other way. If you want to keep checking your job and incrementally add stages, you can always let your output stream go to a copy stage. It can consume all the rows without complaining.
by DSguru2B
Thu Jun 14, 2007 12:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cursor function in DS
Replies: 2
Views: 1007

You can use stage variables to hold previous rows values and do your manipulation there. Search the forum on the 'How to' part. Search on keywords like row comparison.
by DSguru2B
Thu Jun 14, 2007 12:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pl/sql in oracle plugin
Replies: 15
Views: 4783

Ok, your going in circles and confusing us. Plain and simple: -Create a stored proc. and call it in the before sql tab. OR -Create a script and call it in the before job subroutine using ExecSH . If you search in google on how to execute a script to access oracle tables, you will get so many results.
by DSguru2B
Thu Jun 14, 2007 9:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parameter
Replies: 6
Views: 1439

Read the Server Job Developer Guide, specifically Command Line Interface. It will give you the exact syntax.
by DSguru2B
Thu Jun 14, 2007 9:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pl/sql in oracle plugin
Replies: 15
Views: 4783

Actually, the question should have been, Where the heck did ftp come in from? This entire thread is to get a pl/sql code working from within datastage. I mentioned a 'here script' and referenced Ray's post where he explains a 'here script' using an ftp example. According to me, thats all that ftp re...
by DSguru2B
Thu Jun 14, 2007 9:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pl/sql in oracle plugin
Replies: 15
Views: 4783

Can you run sqlplus from your datastage server? You should be able to. Run a sqlplus command and excute your query.
by DSguru2B
Thu Jun 14, 2007 8:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Restartablity of sequence
Replies: 7
Views: 2697

But the job sequence wont be restartable from point B, will it? as its successor job (Job C) will run.
by DSguru2B
Thu Jun 14, 2007 8:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: I am not able to compile my job ......pls urgent
Replies: 13
Views: 5594

Do you have this jobs log open in any director? Go to 'Cleanup Resources' under Job button in the director and see if you have any sort of log on any RT_LOG file.