Datastage command using dsjob -ljobs does not display jobs for a project
When using dsjob -ljobs to display job in a project you receive the following output:
Status code = 0
Diagnosing the problem
Because the output displays the list of jobs for the other version of DataStage that is using the default port 31538, with the same project name, and that project had no , therefore the display shows no jobs. In resolving the problem, make sure to know the port your version is running on so that you get correct data.
Resolving the problem
When there is more than one instance of DataStage on the same server use dsjob with the following syntax. Make sure to provide the server:port# dsjob -domain dname:port# -server sname:port# -user uname -password XXXXXXXX -ljobs projectname
dsjob -domain dname:9081 -server sname:31539 -user uname -password XXXXXXXX -ljobs projectname