Search found 5 matches

by bennylag
Fri Jan 22, 2010 11:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running an Oracle SQL script
Replies: 8
Views: 5411

I've discovered that the new Oracle Connector stage available in Datastage version 8.1 allows for multiple commands in the close command. It also allows for partition reads and the option to execute a close command by stage or by node.
by bennylag
Fri Oct 30, 2009 7:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running an Oracle SQL script
Replies: 8
Views: 5411

Interesting solution. So, no issues with quotes disappearing yet? It is notorious for stripping quotes from parameters, which usually means sql snippets are affected the most. ... Good point! I have not had to pass special characters or quotes in this job yet. I guess when that is a requirement I w...
by bennylag
Thu Oct 29, 2009 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running an Oracle SQL script
Replies: 8
Views: 5411

Sorry, thought it supported multiple commands much like the before/after sql tabs do in other stages. I also thought that would be the solution but unfotrunately not. I developed an alternate method in which to do this. I created a "server" job that reads from oracle and writes to a sequa...
by bennylag
Thu Oct 29, 2009 12:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running an Oracle SQL script
Replies: 8
Views: 5411

Doesn't the CLOSE command support that? There's no direct equivalent to the 'SQL step' you mentioned, in my world this would be a scripted call to sqlplus that executed all of those commands and checked for issues, called as a separate job / step so it can be restarted without being tied to the loa...
by bennylag
Thu Oct 29, 2009 11:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Running an Oracle SQL script
Replies: 8
Views: 5411

Running an Oracle SQL script

Hello, I am using Datastage 8.1 running on an AIX 5.3 server. My job is basically loading a table from an Oracle database (10g) into another Oracle database. After the load is complete I need to run a series of SQL commands (drop, delete, create index, etc..). Besides using the "Close command&q...