- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Connect:Direct error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2007 05:48 PM
тАО08-01-2007 05:48 PM
Connect:Direct error
I am trying to send a file from a unix m/c to a remote m/c using NDM, nodes at both sides are configured. while executing script, I am getting erro as below:
******************************************************
* *
* Connect:Direct UNIX *
* *
*----------------------------------------------------*
* Copyright (c) 1992, 2005 Sterling Commerce, Inc. *
* Version 3.6.01 *
******************************************************
Enter a ';' at the end of a command to submit it. Type 'quit;' to exit CLI.
Direct> **** Error returned...
XCMM005I Return Code: 8 Feedback: 0
Direct>
Connect:Direct CLI Terminated...
******************************************************
* *
* Connect:Direct UNIX *
* *
*----------------------------------------------------*
* Copyright (c) 1992, 2005 Sterling Commerce, Inc. *
* Version 3.6.01 *
******************************************************
Enter a ';' at the end of a command to submit it. Type 'quit;' to exit CLI.
Direct> **** Error returned...
XCMM005I Return Code: 8 Feedback: 0
Direct>
Connect:Direct CLI Terminated...
******************************************************
* *
* Connect:Direct UNIX *
* *
*----------------------------------------------------*
* Copyright (c) 1992, 2005 Sterling Commerce, Inc. *
* Version 3.6.01 *
******************************************************
Enter a ';' at the end of a command to submit it. Type 'quit;' to exit CLI.
Direct> **** Error returned...
XCMM005I Return Code: 8 Feedback: 0
Please provide the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2007 11:55 PM
тАО08-01-2007 11:55 PM
Re: Connect:Direct error
I'm not much of a Connect Direct expert, but I will try to help.
Are these machines new installations, or an installation that has recently stopped. I assume its the latter.
I suspect however that its a syntax error within the script.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 12:13 AM
тАО08-02-2007 12:13 AM
Re: Connect:Direct error
where could be syntax error, if you assume.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 12:35 AM
тАО08-02-2007 12:35 AM
Re: Connect:Direct error
Looking into this error it looks like a permissions error.
You may need to look at your logging on both nodes. The logs are usually kept in /
Warning: CDirect debugging is can be frustrating.
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 12:47 AM
тАО08-02-2007 12:47 AM
Re: Connect:Direct error
apart from that,
below is my NDM code:
# PROCESS : NDM2
# VERSION : 1.0
# CREATED DATE : 07/11/2002
# AUTHOR : MAREK GOTTESMAN
# SECURITY : COMPANY CONFIDENTIAL
#
# PROCESS DESCRIPTION
#
# THIS FUNCTION EXECUTES NDM TO SEND FILES TO OTHER MACHINES
# (NODES).
#
# THIS IS HOW YOU SEND FILES TO A MVS MACHINE
#
# NDM_NODE=NMD.PACBELLHH
# NDM_FROM_FILE=/appl/pmt/dconnect/marek/from.file
# NDM_TO_FILE=I.IC.TEST.FILE
# NDM_DATATYPE=text
# NDM_XLATE=yes
# NDM_DCB="disp=(rpl) dcb=(RECFM=F,LRECL=300,BLKSIZE=300) "
# NDM
#
# THIS IS HOW YOU SEND FILES TO A UNIX MACHINE
#
# NDM_NODE=soarpmt
# NDM_FROM_FILE=/appl/pmt/dconnect/marek/from.file
# NDM_TO_FILE=/appl/pmt/dconnect/marek/to.file
# NDM_DATATYPE=text
# NDM_XLATE=no
# NDM_DCB="disp=(rpl)"
# NDM
#
# CHANGE INFORMATION
#
# VER # PROGRAMMER DATE DESCRIPTION
#
# 1.0 MAREK GOTTESMAN 07/11/2002 INITIAL VERSION
#
#
#################################################################
NDM2 () {
if [[ $SCRIPT_DEBUG = "Y" ]]
then
set -x
fi
PAGER_FLAG="N"
if [[ $SCRIPT_PAGER = "Y" ]]
then
PAGER_FLAG="Y"
fi
if [[ -z $NDM_NODE ]]
then
print "NDM ERROR: NDM_NODE variable not set "
exit 1
fi
if [[ -z $NDM_FROM_FILE ]]
then
print "NDM ERROR: NDM_FROM_FILE variable not set "
exit 1
fi
if [[ -z $NDM_TO_FILE ]]
then
print "NDM ERROR: NDM_TO_FILE variable not set "
exit 1
fi
if [[ -z $NDM_DCB ]]
then
print "NDM ERROR: NDM_DCB variable not set "
exit 1
fi
if [[ -z $NDM_DATATYPE ]]
then
print "NDM ERROR: NDM_DATATYPE variable not set "
exit 1
fi
if [[ -z $NDM_XLATE ]]
then
print "NDM ERROR: NDM_XLATE variable not set "
exit 1
fi
if [[ ! -z $1 ]]
then
if [[ $1 = "PAGER" ]]
then
PAGER_FLAG="Y"
else
print "NDM ERROR: First arguement not set to PAGER "
exit 1
fi
fi
if [[ $PAGER_FLAG = "Y" ]]
then
FILE_EXISTS $NDM_FROM_FILE PAGER
else
FILE_EXISTS $NDM_FROM_FILE
fi
$NDM_PATH/bin/direct << EOJ
submit
ndm_send process snode=$NDM_NODE class=1
step1
copy from ( file=$NDM_FROM_FILE pnode
sysopts=":datatype=$NDM_DATATYPE:xlate=$NDM_XLATE:strip.blanks=no:" )
compress
to ( file=$NDM_TO_FILE
snode
$NDM_DCB )
step2
if ( step1 eq 0 ) then
run task pnode sysopts="touch ${NDM_FROM_FILE}.FIN "
run task snode sysopts="touch ${NDM_TO_FILE}.FIN "
else
run task snode sysopts="touch ${NDM_TO_FILE}.BAD "
run task pnode sysopts="touch ${NDM_FROM_FILE}.BAD "
eif
pend;
EOJ
}
when the file transfer is unsuccessful,it creates .BAD file. But it is not created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 12:52 AM
тАО08-02-2007 12:52 AM
Re: Connect:Direct error
I don't even think it is running the script. Looking at the logs would be helpful.
Regards
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 01:02 AM
тАО08-02-2007 01:02 AM
Re: Connect:Direct error
I think you are right...
in logs,I found as below
STAR=20070802 00:28:11|CCOD=8|RECI=XCMM|RECC=CAEV|MSGI=XCMM005I|MSGT=ndm_error_set(): rc=8 fdbk=0 msgid=XCMM005I stext=The submit command was not permitted for this user.
STAR=20070802 00:28:11|RECI=CXIT|RECC=CAEV|MSGT=CMGR exited. Pid=5736. Exitcode=1.
permission is not granted --
can you please provide some info over it...
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 01:05 AM
тАО08-02-2007 01:05 AM
Re: Connect:Direct error
if yes,how?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2007 01:11 AM
тАО08-02-2007 01:11 AM
Re: Connect:Direct error
That is granted in the userfile.cfg file in the
/
The format is
:cmd.submit=y:\
in the
HTH
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2018 09:18 AM
тАО09-11-2018 09:18 AM
Re: Connect:Direct error
Hi Joshi,
Getting the same error....can you help me with this?
Would be really appreciated.