Search found 38 matches

by josh.guffey
Thu Nov 20, 2008 3:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage calling SQL Server Stored Proc
Replies: 3
Views: 2464

Version 8.1 has corrected this issue.

Thanks to everyone who took the time to read this post.
by josh.guffey
Tue Jul 29, 2008 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MS SQL Server 2005 Bulk Copy question
Replies: 4
Views: 3047

Replace the ODBC Enterprise with the SQL Server Enterprise Stage. That is the target stage that we use to load our SQL Server databases and it seems to perform much faster than ODBC. I would create a copy of the job and change the copy's target to SQL Server Enterprise. Run job 1 and then the copy a...
by josh.guffey
Thu Jul 24, 2008 2:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select top n records from source on data load
Replies: 3
Views: 1905

I figured it out. I am so used to working on SQL Server I forgot that Oracle has the nice feature ROWNUM. DUH!!!

In the user defined SQL, all I have to do is:

SELECT * FROM #ORACLE_DB_SRC_TBL# WHERE ROWNUM <= 500

Works like a charm.

Sorry for the post.

Thanks,
Josh
by josh.guffey
Thu Jul 24, 2008 2:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Select top n records from source on data load
Replies: 3
Views: 1905

Select top n records from source on data load

I am loading data using this setup ODBC Enterprise --> Transformer --> SQL Server Enterprise. I am trying to select the top 500 rows from my source to load my Development Environment. I know this can be accomplished using the Sequential File Stage via the Read First Rows option, but I am reading fro...
by josh.guffey
Tue Jun 24, 2008 11:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Aborts after 50 errors; how to change?
Replies: 9
Views: 5420

Inside of DataStage Director, go to Tools and select Options. Once the Options dialog box pops up select the Limits tab and change warnings to No limit or select Abort job after: value to something > 50.

Hope this helps.
by josh.guffey
Thu Jun 19, 2008 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Notification to Multiple Recipients
Replies: 2
Views: 2934

Create a User Defined Environment Variable with the 2 email addresses and place that variable in the Recipients email address: field in the Notification Activity. In our shop we have these addresses seperated by a ;

Hope this helps
by josh.guffey
Fri Jun 06, 2008 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server as target
Replies: 2
Views: 1711

Change your ODBC Enterprise to a Dynamic RDBMS stage. In the Update Action drop down of the Input/General tab you can choose "Truncate table then insert rows" or you could write your own custom before SQL that will be executed before the table is loaded. Under the SQL tab there is a before...
by josh.guffey
Fri May 09, 2008 12:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Stored Procedure Stage calling SQL Server Stored Proc
Replies: 3
Views: 2464

Stored Procedure Stage calling SQL Server Stored Proc

I have been using the Stored Procedure Stage in several parallel jobs to call various SQL Server stored procedures. I am now trying to invoke a SQL Server stored procedure and also pass-through additional column information to the output link for further processing. The job is set up like this (SQL ...