return code -50

prachik

ADSM.ORG Member
Joined
Sep 15, 2003
Messages
23
Reaction score
0
Points
0
Website
Visit site
anybody has any idea what is return code=-50 ( its negative 50)



I am getting this message while executing dsmadmc



ANS1017E Session rejected: TCP/IP connection failure

ANS8023E Unable to establish session with server.



ANS8002I Highest return code was -50.



where do I get details about what each return code means?
 
dsmadmc -> dsm admin client



you have to start dsmserv before!



then dsmadmc will work! hope this helps! ;)



chris
 
my server is running.

this error occurs only when I am trying to set the env variables ( DSM_DIR and DSM_CONFIG) through envp in runtime.getruntime.exec(command , envp).





if I am just executing the command runtime.getruntime.exec(command) and set the env variables through control panel, same thing works with no error.



problem is, I WANT to set the environment variables through program and not through control panel.



pl. help.



b.t.w. what does the return code -50 actually mean?



prachi
 
Are you running it on Windows by any chance? Add SystemRoot=C:\WINDOWS to envp, it makes sockets happy.



Normally you would get RC -50, if the TSM Client cannot connect to the TSM server.
 
Back
Top