Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Server Job based on Stored Proc Result

Status
Not open for further replies.

Wholsea

Programmer
Jun 16, 2004
138
US
Scenario:

Oracle Stored Procedure, returns a 1 or a 0.

I have a server job that Runs the proc, takes this result, and stores it into a local file on the server.

I have another job that takes this file and FTPs it to another server.

I only want the FTP job to run if the procedure returns a 0.

I can't seem to find a good example, and the online docs are no help at all.

Thanks!

ASP, VB, VBS, Cold Fusion, SQL, DTS, T-SQL, PL-SQL, IBM-MQ, Crystal Reports, Crystal Enterprise
 
Using DataStage Designer 7.5

Procedure is in an Oracle 9i database.

Oracle is on UNIX, DS is on W2K.

ASP, VB, VBS, Cold Fusion, SQL, DTS, T-SQL, PL-SQL, IBM-MQ, Crystal Reports, Crystal Enterprise
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top