Operating System - HP-UX
1834565 Members
3626 Online
110069 Solutions
New Discussion

Re: Connect:Direct in Unix

 
SOLVED
Go to solution
vaish
Frequent Advisor

Connect:Direct in Unix

I see the following error while executing this file recv.sh
ndmcli -x << EOJ
submit proc1 process snode=$3
step1 copy from (file=$1 snode)
to (file=$2)
pend ;
EOJ

******************************************************
* *
* CONNECT:Direct for UNIX *
* *
*----------------------------------------------------*
* Copyright (c) 1983, 1997 Sterling Commerce, Inc. *
* Version 3.1.00 GA *
* Fix level : 03AUG1998 *
******************************************************

Failed to obtain connection to CONNECT:Direct server, exiting.

XAPC002I Return Code: 8 Feedback: 0
Missing Asset Protection Record


CONNECT:Direct CLI Terminated...

Can anybody please help me to have successful connection ?
11 REPLIES 11
Senthil Kumar .A_1
Honored Contributor

Re: Connect:Direct in Unix

Hi Vaish,

Are you able to connect to the CODI server(secondary node) manually. I mean without using the script.

Regards,
Senthil
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Asif Sharif
Honored Contributor

Re: Connect:Direct in Unix

Senthil Kumar .A_1
Honored Contributor
Solution

Re: Connect:Direct in Unix

Check this aswell..

there are some basic tests that can be performed.

http://unix.ittoolbox.com/groups/technical-functional/shellscript-l/920985

Regards,
Senthil
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
vaish
Frequent Advisor

Re: Connect:Direct in Unix

Senthil,
I am very new to this CD. Can you please tell me how to manually check whether the connection between the machines (Unix to unix ) are proper before sending the file ?
Muthukumar_5
Honored Contributor

Re: Connect:Direct in Unix

Check the connectivity to other machine as,

# ping
# nslookup

# traceroute


First one of ping has to be successfull to have connection to remote machine.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor

Re: Connect:Direct in Unix

Hi Vaish,

You can do this easily pinging from one to another.

# ping

# traceroute will help you to see how the packets traverse.

-Arun

"A ship in the harbor is safe, but that is not what ships are built for"
vaish
Frequent Advisor

Re: Connect:Direct in Unix

Hi,
I can ping, traceroute the remote machine. But how to transfer the file between these machines ?
Arunvijai_4
Honored Contributor

Re: Connect:Direct in Unix

Hello,

If you want to transfer files between unix machines, there are several ways to do..

1) FTP

2) SCP

3) RCP

4) NFS

You can choose any one of these methods..
FTP will be easier to do.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
vaish
Frequent Advisor

Re: Connect:Direct in Unix

Hi,
I need a program to transfer the files using connect direct only. Because CD is the interface between these machines. This is used for coding purpose. So I can't go for ftp and other ways.
Senthil Kumar .A_1
Honored Contributor

Re: Connect:Direct in Unix

Hi vaish,

what i meant of manual testing was to follow the link below, where they do the same as far as C:D app goes.


http://unix.ittoolbox.com/groups/technical-functional/shellscript-l/920985

Ofcourse n/w connnectivity is prime importance between the pnode and snode, that I assumed was fine. But any check the n/w connectivity aswell.

The problem with C:D is ,it is a third party tool for file transfers for coding in the program, that is not widely used. You should be able to find some solutions by searching google.

Regards,
Senthil
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
vaish
Frequent Advisor

Re: Connect:Direct in Unix

Thanks