Failed to locate information for server

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
synsog
Premium Member
Premium Member
Posts: 232
Joined: Sun Aug 01, 2010 11:01 pm
Location: Pune

Failed to locate information for server

Post by synsog »

Project Name = XXX
DataStage Job Name = YYYY

dsjob -file dslogininfo.txt -run -mode NORMAL XXX YYYY

Login Info is in the file name = dslogininfo.txt
servername,userid,password
cnaetl101,ds1245,htu098yg
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Post by mandyli »

What is your issue here ?

The following is not good .

dsjob -file dslogininfo.txt -run -mode NORMAL XXX YYYY


Thanks
Man
synsog
Premium Member
Premium Member
Posts: 232
Joined: Sun Aug 01, 2010 11:01 pm
Location: Pune

Post by synsog »

I am passing the servername, userid,password through a file to the dsjob command.
But i am getting error saying "Failed to located Information for Server"
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Try adding the domain option. You may also need to specify the port, from what I recall.
-craig

"You can never have too many knives" -- Logan Nine Fingers
synsog
Premium Member
Premium Member
Posts: 232
Joined: Sun Aug 01, 2010 11:01 pm
Location: Pune

Post by synsog »

But in Programmer's guide it specified:
for dsjob command only:
-file filename NONE enginename
domainname specifies the domain for which the file contains logon details. For dsjob, you can set NONE to log on to the engine rather than the domain.
enginename specifies the engine for which the file contains logon details.
filename is the name of the file containing logon details.
The file must contain the following information if logging on to the engine:enginename, username, password

Even, if you say to pass domain name, how to find out the domain name ?
Mike
Premium Member
Premium Member
Posts: 1021
Joined: Sun Mar 03, 2002 6:01 pm
Location: Tampa, FL

Re: Failed to locate information for server

Post by Mike »

synsog wrote:dsjob -file dslogininfo.txt -run -mode NORMAL XXX YYYY
So, dslogininfo.txt is in the same location as dsjob? If not, provide a location for it.

Mike
synsog
Premium Member
Premium Member
Posts: 232
Joined: Sun Aug 01, 2010 11:01 pm
Location: Pune

Re: Failed to locate information for server

Post by synsog »

Mike wrote:
synsog wrote:dsjob -file dslogininfo.txt -run -mode NORMAL XXX YYYY
So, dslogininfo.txt is in the same location as dsjob? If not, provide a location for it.

Mike
dsloginfo.txt is located on a seperate path, and i m providing the path like this...

dsjob -file c:\temp\dslogininfo.txt -run -mode NORMAL XXX YYYY
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Revisit the guide...

Try the -domain NONE option or -domain domain:port where domain is a server name and default port is 9080.

Get it to work manually from the command line first before trying out the -file option.
Choose a job you love, and you will never have to work a day in your life. - Confucius
rohitronniedas
Premium Member
Premium Member
Posts: 3
Joined: Fri Jul 01, 2011 9:10 am
Location: United States

Post by rohitronniedas »

Please try this command, it worked for me to get the information of all the projects in server, hope that is what you mean "information for server" in the subject

dsjob -domain hostname:9080 -server hostname:31538 -user ds_client_user -password ds_client_pswd -lprojects

It will list down all the projects in the server


Thanks
Post Reply