SQLServer stored procedure within a server job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mrlindsey
Participant
Posts: 4
Joined: Thu Jan 19, 2006 8:47 am
Location: MA, USA
Contact:

SQLServer stored procedure within a server job

Post by mrlindsey »

What if we are running DataStage on Unix and can't call isql or osql from the command line. Is there another way to call a SQLServer stored procedure from a server job?

-Matt Lindsey
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Use remsh or rsh to remote command execute on a Windoze server OSQL/ISQL.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
mrlindsey
Participant
Posts: 4
Joined: Thu Jan 19, 2006 8:47 am
Location: MA, USA
Contact:

Post by mrlindsey »

Thanks, but remote shell is not allowed at our company between servers.
-Matt
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

You could gimmick the ODBC stage to output from an SP a dummy row after its done doing whatever you need.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

I absolutely agree with Ken. ODBC works better with these sorts. I do lots of these creating ODBC job to access SQL Server.

Thanks
Regards
Siva

Listening to the Learned

"The most precious wealth is the wealth acquired by the ear Indeed, of all wealth that wealth is the crown." - Thirukural By Thiruvalluvar
Post Reply