Search found 6797 matches

by DSguru2B
Wed Jan 17, 2007 10:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: comparaison between Old and new value in stage variable
Replies: 13
Views: 3039

Use the following condVal: if in.Id <> prevVal then in.Amount else condVal:"-":in.Amount prevVal: in.Id Intialize condVal to "". Specify four columns in your output. First three are straight pulls and the fourth column will have derivation condVal. Your data will look like this Id1, Type1,...
by DSguru2B
Wed Jan 17, 2007 10:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Redbrick
Replies: 10
Views: 2669

are you providing the fully qualified name. Try giving it with quotes. See if that works. The file is getting created, otherwise how is the data being loaded.
by DSguru2B
Wed Jan 17, 2007 8:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Abnormal termination of a Stored Procedure stage
Replies: 6
Views: 2293

It means, to reset the job from director. Some more messages will pop up in your log file. Post them here.
by DSguru2B
Wed Jan 17, 2007 7:50 am
Forum: General
Topic: Input buferring
Replies: 8
Views: 2869

Can you please post the complete error message. Doing a copy paste of the message usually helps.
by DSguru2B
Wed Jan 17, 2007 7:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Weird Error
Replies: 4
Views: 1708

And make it a practice to keep monitoring disk space allocated for your project directory. Also, avoid building files within project directory. Make sure logs are purged regularly.
My 2 centy.
by DSguru2B
Wed Jan 17, 2007 7:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting count from a log of job
Replies: 6
Views: 1580

Get the last event number using lognewest with the dsjob command. That will give you the number of entries present in your entire log file. If you want number of enteries for the latest run then you need to get lognewest before the job starts and after it ends. Subtract them and that will give you t...
by DSguru2B
Tue Jan 16, 2007 10:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pulling out Text in between tags
Replies: 11
Views: 2405

In that case, true , it will not work. I was under the impression that each line is coming in as a seperate record, and hence my solution. Also, if the OP has input records coming in as one open, close tag in one line then it should be fine, else a more generic solution is needed. Agreed.
by DSguru2B
Tue Jan 16, 2007 8:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pulling out Text in between tags
Replies: 11
Views: 2405

You sure Ken. The second Index will stop at the first occurance of "</". But that number minus the length of trailing tag will give you the length of the content between the tags. Try it. :wink:
by DSguru2B
Tue Jan 16, 2007 6:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Discrepancies in DEV and QA Environments
Replies: 15
Views: 3866

narasimha wrote:
chulett wrote:In any case, switching to generated sql should solve the problem.

Craig, how did you infer this by looking into the error message :shock: any pointers... :P


Thats by burning midnight oil :wink:
by DSguru2B
Tue Jan 16, 2007 4:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Slow Loading Performance - Oracle 10g
Replies: 21
Views: 6173

Do you have the sample mass update scripts. Maybe you can put it up as an FAQ. This will help all of us a lot Ken.

PS: Loved the slurpee example :wink:
by DSguru2B
Tue Jan 16, 2007 3:51 pm
Forum: General
Topic: Unable to import ODBC table defs
Replies: 19
Views: 7567

You sure you dont have your caps lock on :wink: ?
by DSguru2B
Tue Jan 16, 2007 3:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Slow Loading Performance - Oracle 10g
Replies: 21
Views: 6173

Do your unions and other transformations in DataStage. Since your source is a database, go for Ken's suggestions. Using mod, select data in chunks and pass it through your transformations, simultaneously, using multiple instance. This is for the "ET" part in ETL. For "L" , use a bulk loader for all ...
by DSguru2B
Tue Jan 16, 2007 3:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: help in using the Modify Stage
Replies: 5
Views: 1373

Ok then my code will do totally different. Use Handle_Null(). Refer here for more details.
by DSguru2B
Tue Jan 16, 2007 3:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding FTP STAGE
Replies: 15
Views: 3372

I think you need to go over the ftp.pdf help document. It will tell you how to set it up and get it running.
by DSguru2B
Tue Jan 16, 2007 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: help in using the Modify Stage
Replies: 5
Views: 1373

NullToValue() will check if incoming is a null and then change it to the value you specify as second argument. Do this in the transformer

Code: Select all

If Len(Trim(in.CTN_CONFIG_NUM_DEALS)) < 1 then SetNull() else in.CTN_CONFIG_NUM_DEALS