Search found 194 matches

by dsscholar
Tue Nov 21, 2006 10:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use Multiple instance to load a single table
Replies: 8
Views: 1843

I think craig's idea is good.. I had implemented similar stuff in my project and it works... Instead of having a big data file, have multiple flat files based on a key, in my case it was employee_id, partition the table on this key, and then run multiple instances of the same job to load this data i...
by dsscholar
Tue Nov 21, 2006 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with Sort stage
Replies: 4
Views: 1207

Re: Problem with Sort stage

Why are you not using the "order by" clause in the query itself ..
by dsscholar
Mon Nov 20, 2006 3:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to view data ,target database on windows.DS on unix.
Replies: 2
Views: 1705

Re: Unable to view data ,target database on windows.DS on un

Did you contact your support teams to make sure that all the TNS entries are defined on the server ?
by dsscholar
Wed Nov 15, 2006 2:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing standalone SQL statement
Replies: 4
Views: 2174

Re: Executing standalone SQL statement

I dont think that's possible. You need to have a output link from the ODBC stage to execute the SQL
by dsscholar
Thu Nov 09, 2006 3:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DEFAULT VALUE IN COLUMN FIELD
Replies: 5
Views: 1304

pradkumar wrote:Thanks
Did it work ?? :?:
by dsscholar
Thu Nov 09, 2006 2:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running the Sequencer
Replies: 6
Views: 1247

This has nothing to do with the upadte action you are performing on the table. For the sequencer to process sucessfully even if the jobs that it is calling finish with warning, you need to change the properties of the job activities present in the sequencer. In the properties of the job activity the...
by dsscholar
Thu Nov 09, 2006 2:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DEFAULT VALUE IN COLUMN FIELD
Replies: 5
Views: 1304

My requirement is osmething different. There are certain columns which when null should have the value of the colno-1..If the col(x) is null then i am entering NA then if col(x+1) is also null, it should be NA. Hope I am clear now For the above mentioned requirement, the transformation should be If...
by dsscholar
Thu Nov 09, 2006 2:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DEFAULT VALUE IN COLUMN FIELD
Replies: 5
Views: 1304

Re: DEFAULT VALUE IN COLUMN FIELD

Please post the exact transformation that you are doing, it cant be if isnull(in.col2) then (in.col1) else enter default value of col2 I would suggest the following code, if isnull(in.col2) then (in.col1) else 'NA' However this doesn't look logically correct to me. It should be something like if isn...
by dsscholar
Thu Nov 09, 2006 2:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running the Sequencer
Replies: 6
Views: 1247

In the sequencer, go and right click on the job activity that is failing. Go to its properties, you will find a tab called triggers, change that.
by dsscholar
Thu Nov 09, 2006 1:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running the Sequencer
Replies: 6
Views: 1247

Re: Running the Sequencer

Change the trigger to
JobA.$JobStatus = DSJS.RUNOK Or JobA.$JobStatus = DSJS.RUNWARN
by dsscholar
Thu Nov 09, 2006 1:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Strange Notification Activity Attachment Issue
Replies: 0
Views: 396

Strange Notification Activity Attachment Issue

I need to list the names of all the files present in 2 different folders at the unix box in 2 files and then mail these files as attachements. I am using notification activity to send this mail. I have 381 files present in one folder and 1 file in the second one. The problem is that the file that co...
by dsscholar
Wed Nov 08, 2006 8:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rollback when job finishes with warnings
Replies: 6
Views: 1977

Thanks Craig..
by dsscholar
Wed Nov 08, 2006 8:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rollback when job finishes with warnings
Replies: 6
Views: 1977

Rollback when job finishes with warnings

I am inserting data in DB2 table and I have set transactional handling as 0 to rollback in case the load doesnt finish sucessfully. My question is whether rollback will take place only if the job fails/aborts or even if the job finishes with warnings ?

Thanks
by dsscholar
Tue Nov 07, 2006 11:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: last date in a month
Replies: 3
Views: 832

Re: last date in a month

You can use the following transformation to get the date.

Oconv(Month.Last(DSLink3.date),"D DMY[,A,]")

The date supplied is in YYYY-MM format. You can change the format of date for the output.
by dsscholar
Thu Nov 02, 2006 2:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Read_delimited()- Required Column Missing
Replies: 23
Views: 8614

Have you set the delimiter as '|', by deafault it is set be a comma(,) ?