dsjob command syntax
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 15
- Joined: Tue Jul 27, 2010 1:33 pm
- Contact:
dsjob command syntax
Where can I find the complete syntax of the DSJOB command? I have spent the better part of an hour looking in the DataStage Information Center online, the Parallel Job Developers Guide, Parallel Job Advanced Developers Guide, Server Job Developers Guide. Is there a link or manual you can point me to? I want to understand all of the paramater options.
I don't have any of the 8.x documentation here now, but in the 7.x world it was all explained in the Command Line Interface chapter in either of the two "Developer Guides". I know it's in the new docs somewhere, just not sure exactly where, sorry.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
OK, took a drive through all of the 8.x documentation I have stashed away and came away mostly empty-handed. Here's what I found in Chapter 4 of the Server Job Developer Guide:
For whatever reason, I do not have the 'Development Kit' doc that it references. I did, however, find this older post by Len Greenwood out in the wild on another site:dsjob Command
You can use the dsjob command to call other WebSphere DataStage jobs from Command Stage. WebSphere DataStage provides the dsjob program to let you run compiled jobs from a command line instead of from WebSphere DataStage. dsjob has the following simple syntax:
dsjob -run [ -mode ] [ -param ] [ -warn ] [ -rows ] [ -wait ] [ -stop ] [ -jobstatus ] [ -userstatus ] project job
For full syntax information, see WebSphere DataStage Development Kit (Job Control Interfaces).
Hope that helps.Len wrote:In 8.1 these interfaces are described in the InfoCenter installed on the client - you're looking for the "WebSphere DataStage Development Kit (Job Control Interfaces)". I think in 8.0.1 it was in a chapter of the Server Job Developer's Guide - with a similar title.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
If you want to cheat on a unix system, perform a "strings" on the dsjob executable. That will show you all the parameters...including hidden ones.
strings, although included in the MKS Toolkit (part of Datastage 8) does not seem to execute as well on the Windows platform as it does on unix.
Cheers,
Ray D
strings, although included in the MKS Toolkit (part of Datastage 8) does not seem to execute as well on the Windows platform as it does on unix.
Cheers,
Ray D
-
- Participant
- Posts: 62
- Joined: Sat Mar 07, 2009 4:59 am
- Location: Chicago
- Contact:
Go to unix server where datastage is installed, type man dsjob , it will display all options, but finally you have to undertand to use how like
for running a job
dsjob -file <parameter file contains domain name and server name> domainname servername -run -warn 100 projectname jobname
for seeing the list of jobs in a project
dsjob -file <parameter file contains domain name and server name> domainname servername -lj projectname
for first input projname and jobname
second one input is projectname onlylike this lot of commands are there
like to see stagenames, lnk names, log of job, job description details like this.............
for running a job
dsjob -file <parameter file contains domain name and server name> domainname servername -run -warn 100 projectname jobname
for seeing the list of jobs in a project
dsjob -file <parameter file contains domain name and server name> domainname servername -lj projectname
for first input projname and jobname
second one input is projectname onlylike this lot of commands are there
like to see stagenames, lnk names, log of job, job description details like this.............
Suresh Reddy
ETL Developer
Research Operations
"its important to know in which direction we are moving rather than where we are"
ETL Developer
Research Operations
"its important to know in which direction we are moving rather than where we are"
-
- Participant
- Posts: 15
- Joined: Tue Jul 27, 2010 1:33 pm
- Contact:
Note that the documentation referred to in the thread "WebSphere DataStage Programmer's Guide" is available via Information Server v8.1 APAR JR31951 along with a bunch of other manuals.
http://www-01.ibm.com/support/docview.w ... wg1JR31951
It can be downloaded at
http://www-933.ibm.com/support/fixcentral
http://www-01.ibm.com/support/docview.w ... wg1JR31951
It can be downloaded at
http://www-933.ibm.com/support/fixcentral