DS FUNCTIONS

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
Saama
Premium Member
Premium Member
Posts: 83
Joined: Wed Nov 22, 2006 6:42 pm
Location: Pune
Contact:

DS FUNCTIONS

Post 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
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post 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.
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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: DS FUNCTIONS

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply