Problem using connect direct

Hi,

I have a script in which i'm using ndm connect direct to fetch data from the client server..syntax i'm using is
./con_using_connectdirect /load/nctrl nctrl $xhost

where con_using_connectdirect is the script which establishes connection
load/nctrl is the path from where data needs to be fetched from
the client server.
nctrl is where it gets stored on our local machine.
xhost is the host name.

when i try executing the above command ,its throwing an error saying "failed to submit connect direct request"

what could be the problem?

Appreciate ur help,
Sheema

This sounds like an error from the script. Is it coded in the script?

You are using NDM on unix correct?

Yes, it is coded in the script and v r using NDM on unix.

I would suggest adding the script contents.

Probably coded to echo this message when getting an error from cliapi in NDM.

It seems lik there is a security problem because of which the access using connect direct is denied.

Thank u.