thanks
out there. My libraries PATH is fine. and everything else is OK.
There are some suggestions from Oracle site that this may have to do with the ADSM server running out of shared memory. Any comment?
The piece of junk code in my post is the debug file of RMAN (with the 'sleeping seconds'). It quite big so I just pasted the last lines here.
Posted below are some excepts from the sbtio.log file
Thanks
Tony

(64622) OBK-sbt:<12/14/2001:13:22:21> ReadPswdFromFile():/usr/tivoli/tsm/client/
oracle/bin/TDPO.ccsp1 DSMO_FS=tsmob ANS0282E (RC168) Password file is not a
vailable.

(64622) OBK-sbt:<12/14/2001:13:22:21> odsmSess(): psReadPswd(): oer = 7011, errn
o = 168.
(64622) OBK-sbt:<12/14/2001:13:22:21> sbtopen(): sbtopen exit. odsmSess failed.
rc = -1
(23080) OBK-sbt:<12/14/2001:13:31:44> odsmSess(): # of dsmInit retries = 1
(23080) OBK-sbt:<12/14/2001:13:31:44> queryObj(): ANS1302E (RC2) No objects
on server match query

(23080) OBK-sbt:<12/14/2001:13:31:44> sbtopen(): ANS1302E (RC2) No objects o
n server match query
140308) OBK-sbt:<12/24/2001:14:47:25> odsmSess(): # of dsmInit retries = 1
140308) OBK-sbt:<12/24/2001:14:49:25> sbtread(): End of file reached. oer = 706
, errno = 2505.
140308) OBK-sbt:<12/24/2001:14:49:31> odsmSess(): # of dsmInit retries = 1
140308) OBK-sbt:<12/24/2001:14:52:41> sbtread(): End of file reached. oer = 706
, errno = 2505.
140308) OBK-sbt:<12/24/2001:14:52:47> odsmSess(): # of dsmInit retries = 1
140308) OBK-sbt:<12/24/2001:14:55:31> sbtread(): End of file reached. oer = 706
, errno = 2505.