Page 1 of 1

DS FUNCTIONS

Posted: Fri Mar 16, 2007 1:11 pm
by Saama
Hi Gurus,

can we invoke the functions like DSGetJobInfo from the command prompt.
But these are functions, can we call these functions from command prompt or else these functions are used only in processing stages.

cheers;
saama

Posted: Fri Mar 16, 2007 1:27 pm
by kcbland
They're job control APIs, which means you have to call them from within the appropriate framework. You're better off pursuing using dsjob, which has a lot of calls to these APIs built into it.

If by command prompt, do you mean from Administrator? Or from the DS Engine command prompt using telnet? Either way, that doesn't work. They're not programs.

Re: DS FUNCTIONS

Posted: Fri Mar 16, 2007 1:36 pm
by ray.wurlod
Saama wrote:Hi Gurus,

can we invoke the functions like DSGetJobInfo from the command prompt.
But these are functions, can we call these functions from command prompt or else these functions are used only in processing stages.

cheers;
saama
No, in exactly the same way that you can't call SQL functions other than in an SQL query or C functions other than from an executing C program.