Search found 6797 matches

by DSguru2B
Mon Dec 11, 2006 2:12 pm
Forum: General
Topic: regarding batch file
Replies: 11
Views: 4962

Give us an example. What path do you want to add to which system variable. IF you talking about datastage variables then in windows environment everything is controlled by registers as far as i know.
by DSguru2B
Mon Dec 11, 2006 1:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: FIND THE CORRECT OF ERROR
Replies: 3
Views: 754

Not with Oracle Ray. Thats why its a pain to find what column is the culprit. It becomes more and more annoying if there are hundreds of columns.
by DSguru2B
Mon Dec 11, 2006 1:46 pm
Forum: General
Topic: regarding batch file
Replies: 11
Views: 4962

Wow. Thats a first one. May i ask why do you want to automate such a thing? Just out of curiosity. You can write a dos batch. Google for sample dos batchs to get an idea of how its written. You execute them through command line. Within datastage, you would use DSExecute() routine to fire off a dos b...
by DSguru2B
Mon Dec 11, 2006 1:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSD.BCIPut call to SQLExecute failed
Replies: 14
Views: 5385

chulett wrote:Two question marks would mean you need two columns. To do that you'd need to send the same batch_id in twice.

O yea. Totally forgot about that. THis is the pesky DRS stage we are dealing with. I guess the only other option is the second method i suggested.
by DSguru2B
Mon Dec 11, 2006 1:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSD.BCIPut call to SQLExecute failed
Replies: 14
Views: 5385

Ok. I just built a test here and it works. Dont know what your doing wrong. Open your favourite sql tool and see if just the select count(*) from table where batch_id = 'a true value'. See if that works. Then put in your delete statement and put the count subselect in the where predicate. See if it ...
by DSguru2B
Mon Dec 11, 2006 1:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequence
Replies: 4
Views: 887

Do each of these 40 files trigger 40 different jobs or could be the same job? Give us more details. What is this job, is it a single job or a batch. Are there any dependencies between the files?
by DSguru2B
Mon Dec 11, 2006 1:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Delete datasets and query dataset in UNIX
Replies: 4
Views: 6111

Do a search my friend. This has been discussed here before. Like thisfor instance.
by DSguru2B
Mon Dec 11, 2006 10:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pass a value in parameter for the next job
Replies: 17
Views: 4642

You dont need to pass it. In your job sequencer, you can call this routine from the default value of the job parameter. Click on the Value Expression for your job parameter, right click and from the drop down list, choose DS Routine. Call your routine which passes the value you need.
by DSguru2B
Mon Dec 11, 2006 10:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to use DSLogFatal in Parallel job
Replies: 4
Views: 1784

Search this forum. You will get plenty of examples.
by DSguru2B
Mon Dec 11, 2006 10:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doubt regarding warnings
Replies: 3
Views: 952

Only one warning huh..? I was under the impression that for every violation of rule there is a warning. Test it out. Build a sample job that has this violation in two columns. Send in 10 rows. And see how many warnings you end up getting.
by DSguru2B
Mon Dec 11, 2006 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSD.BCIPut call to SQLExecute failed
Replies: 14
Views: 5385

OR try this sql instead. Delete from Table WHERE (batch_id = ?) AND (select count(*) from sysdp.dbo.SpData WHERE (batch_id = ?) >0 )
by DSguru2B
Mon Dec 11, 2006 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSD.BCIPut call to SQLExecute failed
Replies: 14
Views: 5385

That conditional statement might not be working. Get rid of it. Do a lookup on target table on batch id. If exists only then pass rows to your target stage.
by DSguru2B
Mon Dec 11, 2006 9:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Stage Variables
Replies: 3
Views: 809

Technically the stage variable will be called for every single row. For small amount of records this execution time is negligible. But if you have millions of records it might make a small difference. Do this, keep the stage variable. Dont provide any derivation for it.For initial value, call the ma...
by DSguru2B
Mon Dec 11, 2006 9:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSD.BCIPut call to SQLExecute failed
Replies: 14
Views: 5385

Ok great. Now since there are no more rows to delete and your passing a delete command, the sql statement is ending with a warning. Do this, do a lookup on the table on the batch id and constraint only the id that exists. This way a delete command will be sent for only the id that is present.
by DSguru2B
Mon Dec 11, 2006 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while connection to Oracle Enterprise stage
Replies: 3
Views: 1090

That is definately the problem. The error message tells you that

dsguy wrote:>##E TFOP 000481 06:42:57(008) <Oracle_Enterprise_49> Incorrect dboption list; it failed on Expected "," or "}", got: "$", line 1.

Read this post. I think its a bug and there is an ECASE out there for the same.