12-26-2017
Quote:
Originally Posted by
bakunin
By NDM, i take it, you mean Connect:Direct? Connect:Direct is a file transfer solution for the host, because
ftp (the protocol as well as the program) is part of (the) TCP/IP (stack). The hosts native network stack is SNA (or, more precisely "a SNA-based protocol stack"), though. Ones uses LU2-connections to transfer data in this environment.
So, you first need to determine if your hosts still talks over SNA to others. You need some complex machinery including a 3745 frontend-processor and a 3174-compatible cluster controller or a virtualised replacement for the latter (SNA gateway software usually acts as a 3174 with its own NCP to the host) to do so. Many companies have therefore cut their SNA networks and work exclusively over TCP/IP.
If your host uses TCP/IP you should stay away from FTP at all costs: use
scp or (preferably)
rsync which is
both available for z/OS. These tools will save you perhaps days and weeks of shell-programming efforts because whatever you can come up with they do: out of the box and perhaps better.
I hope this helps.
bakunin
Thanks bakunin.., for taking your time and sharing your point.
But I am still not sure what is SNA, how to get if we have SNA.
Cant I just write a script to NDM the files from AIX to Mainframe server?
Sorry these questions might be silly., i totally don't know what NDM is.
Last edited by rbatte1; 12-27-2017 at 04:24 AM..
Reason: Removed smileys in quoted section by adding NOPARSE tags as appropriate
9 More Discussions You Might Find Interesting
1. AIX
Hi,
I'm not sure if this has been solved in this forum already but please do help me out if possible. Basically, I've already setup a passwordless SSH connection between 2 AIX IDs (say ID-1 and ID-2) with a Mainframe server ID (say MVSID). I'm able to successfully do an SSH from the AIX server to... (1 Reply)
Discussion started by: sambeet
1 Replies
2. AIX
Hi,
When i am trying to ftp COBOL generated data sets which contain comp values to AIX in ASCII mode. the comp values are getting corrupted. If i ftp the data set in binary mode it is working properly, but for this i have to change some compiler options in the COBOL. Also if i want to use the... (5 Replies)
Discussion started by: sekhar gajjala
5 Replies
3. UNIX for Advanced & Expert Users
Hello,
I have a FTP script below that automatically send files to host. Currently, i am having problems if our network connection is down. Our host cannot receive a file once the network connect is down.
Could there be a additional command that i need to add below so that it would not send... (4 Replies)
Discussion started by: vibora
4 Replies
4. AIX
Hi,
I have a task of setting up connectivity between Oracle 10g (AIX) and Mainframe (1 library). Went through couple of documents, forums, blogs etc. MY understanding is ODBC Generic Connectivity is free from Oracle side.
Question: (may be dumb to you)
1. Has anybody done this and would... (3 Replies)
Discussion started by: jvmani_1
3 Replies
5. AIX
Hi All
We have planned to communicate with our trading prtner via FTP.
We both have servers running on AIX. We want to exchange files with each other via FTP.
I am new to AIX. Any help appreciated:)
Thanks:) (7 Replies)
Discussion started by: user1183
7 Replies
6. Shell Programming and Scripting
Hi,
I have a shell script which is residing on AIX which is triggered by Mainframe through Connect Direct. The shell script creates several files and sends those files to mainframe using Connect Direct. The shell script is working fine, still it is returning exit code 2 to mainframe.
What... (0 Replies)
Discussion started by: Yogesh Aggarwal
0 Replies
7. AIX
Using nimadm:
nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y
Initializing the NIM master.
Initializing NIM client sap024.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies
8. Shell Programming and Scripting
I am trying to transfer logs from Aix 6.1 to a linux appliance but it is not happening from last one month if i execute the batch command by command i can execute well but if i do it in shell script it is stuck without any error.
Any one know how to generate a FTP client trace to know the issue... (10 Replies)
Discussion started by: ra8ul
10 Replies
9. Shell Programming and Scripting
Hi All,
This is the scenario:-
I am writing a script to automate FTP files from AIX to Mainframe. ( Binary mode, passive connection)
FTP the currently available files(poll a directory to find the list) and put it to mainframe in one connection instance
Verify if all the files are copied... (24 Replies)
Discussion started by: TechGyaann
24 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)