Search found 37 matches

by sashah
Tue Jun 16, 2009 1:32 pm
Forum: General
Topic: Calling Stored Procedure using ODBC stage
Replies: 5
Views: 2069

Calling Stored Procedure using ODBC stage

Is it possible to call a SQL Server stored procedure in a ODBC stage that is a reference link to a transformer
by sashah
Mon Jun 15, 2009 3:50 pm
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Craig,

Thank you for all your help. As per your suggestion,I moved the marker as a part of the where clause when calling the function and it worked.

Thanks again
Samir
by sashah
Mon Jun 15, 2009 7:32 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

I have the Account_nsp_id as the key. Yes the column order is the same. Does the column name in the stage have to match the column names in the query.
by sashah
Mon Jun 15, 2009 7:08 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Ray,

That is correct. We are passing the account numbers to get data for them.

Thank you
Samir
by sashah
Mon Jun 15, 2009 6:59 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Yes one of the four column selected is substituted in the parameters marker. The marker is for column Account_nsp_id. 4 columns are defined in the stage.
by sashah
Mon Jun 15, 2009 6:53 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Yes one of the four column selected is substituted in the parameters marker. The marker is for column Account_nsp_id. 4 columns are defined in the stage.
by sashah
Mon Jun 15, 2009 6:52 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Yes one of the four column selected is substituted in the parameters marker. The marker is for column Account_nsp_id. 4 columns are defined in the stage.
by sashah
Sun Jun 14, 2009 5:30 pm
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Hi Craig,

There are no where clauses. I am calling a function in SQL Server that is returning data.

Below is the sql from Select Account_nsp_id,BENCHMARK_nsp_id,SEQUENCE_NUM,PRIMARY_BENCHMARK from V_Account_Benchmarks('ABC',?)

Thank you for your help.

Regards
Samir
by sashah
Sun Jun 14, 2009 5:29 pm
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Hi Craig,

There are no where clauses. I am calling a function in SQL Server that is returning data.

Below is the sql from Select Account_nsp_id,BENCHMARK_nsp_id,SEQUENCE_NUM,PRIMARY_BENCHMARK from V_Account_Benchmarks('ABC',?)

Thank you for your help.

Regards
Samir
by sashah
Sun Jun 14, 2009 11:52 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Hi Craig,

Thank you for your response.
I verified the number of result columns defined in the stage. They match the number of columns in the query.
Is there something else that I should verify.

Thank you
Samir
by sashah
Sun Jun 14, 2009 11:52 am
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Hi Craig,

Thank you for your response.
I verified the number of result columns defined in the stage. They match the number of columns in the query.
Is there something else that I should verify.

Thank you
Samir
by sashah
Fri Jun 12, 2009 3:50 pm
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Multiple Resultset check box

Micheal,

Thank you for your reply.

Where do I find multiple results check box to check it.

Thank you
Samir
by sashah
Fri Jun 12, 2009 2:39 pm
Forum: General
Topic: Error when running Data stage server job
Replies: 22
Views: 12363

Error when running Data stage server job

I am trying to run a job that has a reference link. There is an ODBC stage that has a reference link to the transformer. This stage returns multiple rows for a particular id which I need to either insert or update into the database. I get the below error when running the job. DSD.BCIOpenRef call to ...
by sashah
Wed May 30, 2007 8:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issues Loading csv file into a Oracle Database
Replies: 7
Views: 2447

Thank you. I will try it.
DSguru2B wrote:I believe the following should work. Test it out before you stick to it.

Code: Select all

sed '/**DISCLOSURE**/;/^*$/d'
by sashah
Tue May 29, 2007 8:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issues Loading csv file into a Oracle Database
Replies: 7
Views: 2447

Thank you. Another question I have is how would I delete all the lines below the Disclosure text.
DSguru2B wrote:In the sequential file stage, activate filter command and put the following in the filter command box

Code: Select all

sed '$d'
This will delete the last line before the stage even starts reading it.