dsjob command domain name issue in windows

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

dsjob command domain name issue in windows

Post by suresh_dsx »

  • Hi,

    I am able to run the dsjob command in data stage 7.5 version(OS: windows 2003 server)
    But i have installed recently datastage 8.0.1 on windows 2003 server.

    dsjob command is not working.

    Server name: SERVER1
    username : Admin
    password : 121123

    i have observed couple of new things in the new version.
    It is asking domain name -Where can i find the domain name.
    Based on the forums tried with many possibilites but still i am having the same problem. i am unable to find the syntax for the datastage 8 version and do i need set any settings to access the command in windows environment.

    Code: Select all

    C:\IBM\InformationServer\Server\DSEngine\bin>dsjob -server SERVER1 -username  Admin -password 121123 -lprojects
    Command Syntax:
            dsjob [-file <file> <domain> <DataStage server> | -domain <domain> -user <user> -password <password> -server <DataStage se
    rver>]
                            <primary command> [<arguments>]
    
    Valid primary command options are:
            -run
            -stop
            -lprojects
            -ljobs
            -linvocations
            -lstages
            -llinks
            -projectinfo
            -jobinfo
            -stageinfo
            -linkinfo
            -lparams
            -paraminfo
            -log
            -logsum
            -logdetail
            -lognewest
            -report
            -jobid
    
    Status code = -9999 DSJE_DSJOB_ERROR
    
    C:\IBM\InformationServer\Server\DSEngine\bin>
    Any help greatly appricated.

    Thanks
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

You have the syntax shown in your note, as described by dsjob itself when you try to execute it.

When you login to Designer or Director, the domain is located in the first of the four boxes you must fill out. Typically it is specified as the name of the domain server where WebSphere Application Server is installed (known as the Services Tier in 8.1), and is typically of the format servername:9080

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

Post by suresh_dsx »

Thanks for the valuable information.

I have tried all the possibilities but still facing the same.

Code: Select all

dsjob -server :9080 -username  Admin -password 121123 -lprojects 
dsjob -server : 9080 -username  Admin -password 121123 -lprojects 
dsjob -server SERVER1:9080 -username  Admin -password 121123 -lprojects 
dsjob -server SERVER1 -username  Admin -password 121123 -lprojects 
Any help greatly appreciated.
Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

dsjob -run -domain servername:9080 -hostname enginename -user fred -password deadbeef -jobstatus projectname jobname
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

Post by suresh_dsx »

Thanks Ray for the responce. i have still in my mind datastage 7.5 version. But now using 8.0 also felling the same.

when i try to execute the command it is open a window and it is showing a message

dsjob.exe is not a valid win32 application in datastage
access denied.

What i understand from the message ...do i need to give any permissions to access that command. beacuse i am using admin user, which is having full permissions.

thanks
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

Post by suresh_dsx »

As I tried many times, it is showing as access denied and then i am unable to connect the data stage. Finally reinstalled the datastage and tried. Still we are having the same problem.

Any help greatly appreciated.
Thanks
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What are the permissions on dsjob.exe ?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

Post by suresh_dsx »

i am using the administrator user which is having full permisssions.
Do i need to create any profile fil or parameter file to execute the dsjob command.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

From where are you trying to execute the command?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
suresh_dsx
Participant
Posts: 160
Joined: Tue May 02, 2006 7:49 am

Post by suresh_dsx »

  • i am executing dsjob command in this location.
    C:\IBM\InformationServer\Server\DSEngine\bin\dsjob
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What happens if you execute C:\IBM\InformationServer\Server\DSEngine\bin\dsjob
(a) alone
(b) with only the -run option
(c) with -domain, -user, -password, -hostname and -lprojects options
(d) with -domain NONE, -user, -password, -hostname and -lprojects options
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