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
Failed to locate information for server
Moderators: chulett, rschirm, roy
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 ?
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 ?
Re: Failed to locate information for server
So, dslogininfo.txt is in the same location as dsjob? If not, provide a location for it.synsog wrote:dsjob -file dslogininfo.txt -run -mode NORMAL XXX YYYY
Mike
Re: Failed to locate information for server
dsloginfo.txt is located on a seperate path, and i m providing the path like this...Mike wrote:So, dslogininfo.txt is in the same location as dsjob? If not, provide a location for it.synsog wrote:dsjob -file dslogininfo.txt -run -mode NORMAL XXX YYYY
Mike
dsjob -file c:\temp\dslogininfo.txt -run -mode NORMAL XXX YYYY
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.
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
-
- Premium Member
- Posts: 3
- Joined: Fri Jul 01, 2011 9:10 am
- Location: United States
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
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