IBM Support

Datastage command using dsjob -ljobs does not display jobs for a project

Technote (troubleshooting)


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

For example;
dsjob -domain dname:9081 -server sname:31539 -user uname -password XXXXXXXX -ljobs projectname

Document information

More support for: InfoSphere DataStage

Software version: 8.1, 8.5, 8.7

Operating system(s): AIX, HP-UX, Linux, Solaris

Reference #: 1590336

Modified date: 04 February 2016

Translate this page: