09-04-2012
Connect Direct for copying files from Mainframes to UNIX
Hai Friends,
Please help me in providing unix shell script for pulling data from mainframe dataset to unix using connect direct (NDM).
Thanks in advance
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello,
I have a V880 and a 420 running Solaris 9. Each box has more than one NIC card. I'd like to know how to configure the network on the two boxes so that I can directly connect the NIC cards. Meaning, I don't want a switch or router between the two. I just want to run a CAT5 cable to each... (3 Replies)
Discussion started by: agcodba
3 Replies
2. Shell Programming and Scripting
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... (4 Replies)
Discussion started by: Sheema
4 Replies
3. Solaris
Hi,
I am configuring Connect direct on Solaries 6.0,
but whenever i am giving the below command
cdpmgr -i /export/app/cdunix/ndm/cfg/khello/initparm.cfg
i am getting the message
Component <cdpmgr ndmcmgr ndmsmgr ndmumgr cdstatm> permissions are not set.
Please follow instructions in the... (3 Replies)
Discussion started by: sidd
3 Replies
4. Shell Programming and Scripting
Hi Unix Gurus,
I have a doubt reg file transfer. I have used the below script to connect to another server and find files having modified for the last 24 hours and have to move the file to another server.
While i tried i am getting authentication failed, destination path not found issue.
... (2 Replies)
Discussion started by: incepted
2 Replies
5. Red Hat
Hi to all,
I've installed IBM Connect:Direct 4.1.00 on Red Hat Enterprise Linux Server release 5.5, but when I try to execute the "direct cli", I obtain the following error:
$ ./direct
***********************************************************
* ... (2 Replies)
Discussion started by: f.vietti
2 Replies
6. Shell Programming and Scripting
Hello all,
I have a requirement to transfer files to mainframe usinf NDM connect:direct. So can anybody provide me a sample shell script on how to call a connect;direct script by providing filename as a parameter please?
Thanks,
Ajay (0 Replies)
Discussion started by: ajaykumar4534
0 Replies
7. Shell Programming and Scripting
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... (4 Replies)
Discussion started by: bk_12345
4 Replies
8. Red Hat
I am transfering a file using connect direct from Linux to Mainframe.
Its a point to point transfer but its failing with below error:
**** Error from CONNECT:Direct API - ndmapi_recvresp_c error
Can we do PTP transfers?
code tags for code, please. (1 Reply)
Discussion started by: gerryperillo
1 Replies
9. UNIX for Dummies Questions & Answers
Hi..
We are using connect direct to transfer the files between servers. The CD scripts run on HP UX.
Below is the code using ndmcli.
ndmcli -x << EOJ
submit maxdelay=0 proc1 process snode=$3
step1 ... (1 Reply)
Discussion started by: anijan
1 Replies
10. UNIX for Advanced & Expert Users
Greetings Experts,
I am working for a bank client and have a question on connect-direct and SFTP.
We are using Linux RedHat servers. We use connect-direct to transfer (NDM) files from one server to another server. At times, we manually transfer the files using SFTP from one server to another... (2 Replies)
Discussion started by: chill3chee
2 Replies
LEARN ABOUT DEBIAN
shevek_socket
shevek::socket(3) Library Functions Manual shevek::socket(3)
NAME
shevek::socket -
Use a unix-domain, tcp or avahi network connection with shevek::fd.
SYNOPSIS
#include <socket.hh>
Inherits shevek::fd.
Inherited by shevek::telnet.
Public Types
typedef sigc::signal0< void > disconnect_t
Disconnect signal type.
typedef sigc::slot0< void > listen_t
New connection callback type.
Public Member Functions
void listen_unix (std::string const &file, listen_t cb, unsigned queue=10)
Listen for new connections on a UNIX socket. Use listen instead.
void listen_tcp (std::string const &service, listen_t cb, unsigned queue=10)
Listen for new connections on a TCP socket. Use listen instead.
void listen_avahi (std::string const &service, Glib::ustring const &protocol, Glib::ustring const &name, listen_t cb, unsigned queue=10)
Listen for new connections on a TCP socket, and register it with avahi. Use listen instead.
void listen (std::string const &port, listen_t cb, unsigned queue=10)
Listen for new connections.
void connect_unix (std::string const &unix_name)
Connect to a UNIX socket. Use connect instead.
void connect_tcp (std::string const &host, std::string const &service)
Connect to a TCP socket. Use connect instead.
void connect_avahi (avahi::browser::owner const &target, avahi::browser::details const &details=avahi::browser::details())
Connect to an avahi TCP socket. Use connect instead.
void connect (std::string const &port)
Connect to a socket.
void accept (Glib::RefPtr< socket > sock)
Accept a connection (only allowed on a listening socket).
std::string get_peer_info (bool numeric=false) const
Get information about the other side of a connection.
std::string get_own_info (bool numeric=false) const
Get info about our side of the connection.
disconnect_t signal_disconnect ()
Schedule a function to be called when the socket is disconnected.
void disconnect ()
Disconnect the socket without reconnecting.
Static Public Member Functions
static Glib::RefPtr< socket > create (Glib::RefPtr< Glib::MainContext > main=Glib::MainContext::get_default())
Create a new socket.
Protected Member Functions
socket (Glib::RefPtr< Glib::MainContext > main)
Constructor.
virtual ~socket ()
Destructor.
Detailed Description
Use a unix-domain, tcp or avahi network connection with shevek::fd.
Member Function Documentation
void shevek::socket::connect (std::string const &port)
Connect to a socket. This is the preferred function to use. Format: UNIX domain sockets: anything with at least one / in it. TCP:
hostname:port, where the hostname and colon may be omitted, and the port may be a service or number. Avahi: name|protocol, where name is
the application name, and protocol the connection type.
void shevek::socket::listen (std::string const &port, listen_tcb, unsignedqueue = 10)
Listen for new connections. This is the preferred function to use. Format: UNIX domain sockets: anything with at least one / in it. TCP
services: the name. TCP port numbers: the number. For TCP, appending |name|protocol, where name is the application name and protocol the
connection type.
Author
Generated automatically by Doxygen for libshevek from the source code.
libshevek Fri May 11 2012 shevek::socket(3)