I want to connect direct a xml file and a excel file each separately from unix system to another unix system.The size of the xml file and excel file may vary each time.
Below is the possible connect direct script to transfer the files.Please check if it is correct?
Also does DCB parameter required ? If required what should be the code for it?
do_copy process snode=CDNODE
step01 copy from (
Pinned topic Connect direct script for unix
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-11-06T14:54:18Z at 2012-11-06T14:54:18Z by SystemAdmin
SystemAdmin 110000D4XK926 Posts
Re: Connect direct script for unix2012-11-06T14:54:18ZThis is the accepted answer. This is the accepted answer.Here is a sample unix shell script (can be faound in ../cdunix/ndm/src directory
- This script invokes the Connect:Direct UNIX CLI
- and submits a process inline to copy a file from a remote
- $1 is the source file.
- $2 is the destination file.
- $3 is the name of the remote node.
ndmcli -x << EOJ
submit proc1 process snode=$3
step1 copy from (file=$1 snode)
DCB parameter is not needed !