ANS5216E Could not establish a TCP/IP connection

micdev

Newcomer
Joined
Nov 14, 2012
Messages
3
Reaction score
0
Points
0
Location
France
PREDATAR Control23

Hello,

I try to make an archive using dsmc in a java program but I have the following messages :

14.11.2012 16:31:42 ANS5216E Could not establish a TCP/IP connection with address 'SRVARC:1525'. The TCP/IP error is 'Connexion refusée' (errno = 111).
14.11.2012 16:31:42 ANS9020E Could not establish a session with a TSM server or client agent. The TSM return code is -50.
14.11.2012 16:31:42 ANS1017E Session rejected: TCP/IP connection failure
14.11.2012 16:31:42 ANS8023E Unable to establish session with server.
In the past the program had no problem but recently I have the following logs.

Can someone help me ????

micdev
 
PREDATAR Control23

When you invoke dsmc in a script, you should specify the actual server name of where the TSM server 'lives' in unless you have an alias or DNS entry for this.

The tcpport. if not defaulted to 1500, must be entered separately.

Invoking dsmc from a script will make a call to the DSM.OPT or DSM.SYS to run properly. The DSM.OPT or DSM.SYS file contains the TSM server details and TCPPORT.
 
PREDATAR Control23

It is not possible to make telnet because I work with ssh
In fact when i try to archive a file alone to analyse the problem :
dsmc archive -v2archive -description=' ' -archmc=sc -filelist="file_with_one_file.txt"

I have the following problem:
ANS1228E Sending of object 'file' finished with failures.
ANS1312E Server media mount not possible

The maxnummp = 999. So what happens ?

Micdev, lost in the TSM space !
 
Top