Search found 5 matches

by blue3zer0
Tue Apr 15, 2008 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to call a sql server stored procedure?
Replies: 5
Views: 2591

The code that you pasted above will create or alter the stored procedure and needs to be run in Enterprise Manager so that the procedure is ready to be called from DS. When you call the procedure from DS you would the use the format.

Code: Select all

exec spForeignKeyconstraintNOCHECK
This will run the procedure.
by blue3zer0
Tue Dec 11, 2007 12:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage stripping quotes from parameters
Replies: 6
Views: 7348

Thanks that worked. :)


It's funny because it only happens to me when I connect to Oracle and when I connect to MS SQL it works fine. Unless MS SQL is just reading the string without the quotes.
by blue3zer0
Tue Dec 11, 2007 9:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage stripping quotes from parameters
Replies: 6
Views: 7348

It is from a Job Parameter. After I click run I fill in the string either as an equal to or and IN statements

For Example

Code: Select all

= '374425' or IN ('374425','274426')

In the user defined SQL statement I have a select statement that says

example

Code: Select all

Select a, b, c from abc where #WHERE#
by blue3zer0
Tue Dec 11, 2007 9:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage stripping quotes from parameters
Replies: 6
Views: 7348

I tried that, it leaves the double quotes and strips the single quotes.
by blue3zer0
Tue Dec 11, 2007 9:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage stripping quotes from parameters
Replies: 6
Views: 7348

DataStage stripping quotes from parameters

I've created a simple job to query an Oracle DB and load the result to a sequential file. I've included a parameter for a where clause that I want to add directly to the sql statement. When I am in the Oracle stage I can query the data by changing the where clause to something like = '374425' which ...