I have installed Datastage on window server both client and server. I am trying to execute API Calls like "DSGETPROJECTLIST", "DSGETPROJECTINFO" but they are throwing errors like "Verb DSGETPROJECTLIST is not in your VOC".
Actually none of API calls are getting executed.
So do we need to do any setting for API calls to get executed from DS Admin command line?
Or is it Syntex error? so for API "DSPROJECTINFO" what should be the syntex.
Any inputs on the same is really appreciated.
Execution of API Calls from DS Admin Command line
Moderators: chulett, rschirm, roy
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard. :D
Easy answer; these are functions. It's not possible to invoke a function from the command line in ANY product.
There is a command line interface (dsjob) that you can use from the operating system level that yields most of the functionality of the DataStage API. You can read about this in the developer's guide.
Easy answer; these are functions. It's not possible to invoke a function from the command line in ANY product.
There is a command line interface (dsjob) that you can use from the operating system level that yields most of the functionality of the DataStage API. You can read about this in the developer's guide.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
ray.wurlod
- Participant
- Posts: 54595
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Code: Select all
DOS /C "dsjob -ljobs projectname"Another way, querying the local repository directly, is:
Code: Select all
SELECT NAME FMT '40L' FROM DS_JOBS WHERE NAME NOT LIKE '\\%';IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
