Sponsored Content
Operating Systems AIX AIX Forum: FTP from AIX to Mainframe Post 303009986 by bakunin on Saturday 23rd of December 2017 10:54:58 PM
Old 12-23-2017
Quote:
Originally Posted by TechGyaann
I would like to know how I can use NDM to transfer file from AIX to Mainframe and to verify the same. Also it should include the restartability in case of failure.
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
 

9 More Discussions You Might Find Interesting

1. AIX

Problems with SSH/SFTP between AIX and Mainframe

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

Problem in ftpying the datasets containing comp values to AIX from mainframe

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

AIX - FTP

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

ODBC Connectivity between Oracle10g on AIX and Mainframe

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

FTP on 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

shell script returning error code 2 from AIX to Mainframe

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

Nim on AIX 7.1 used to migrate AIX 5.3 to AIX 6.1...is possible?

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

AIX FTP client

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

FTP from AIX to Mainframe

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
VANESSA_SOCKET_PIPE(1)					      General Commands Manual					    VANESSA_SOCKET_PIPE(1)

NAME
vanessa_socket_pipe - Trivial TCP/IP pipe based on libvanessa_socket SYNOPSIS
vanessa_socket_pipe [options] DESCRIPTION
A TCP/IP pipe is a user space programme that listens for TCP/IP connections on port on the local host and when a client connects makes a connection to a TCP port, possibly on another host. Once both connections are established data sent on one connection is relayed to the other, hence forming a bi-directional pipe. Uses include enabling connections to specific ports on hosts behind a packet filter. This code is intended primarily as an example of how many of the features of libvanessa_socket work. OPTIONS
-c|--connection_limit: Maximum number of connections to accept simultaneously. A value of zero sets no limit on the number of simultaneous connections. (default 0) -d|--debug: Turn on verbose debuging to stderr. -h|--help: Display this message. -L|--listen_port: Port to listen on. (mandatory) -l|--listen_host: Address to listen on. May be a hostname or an IP address. If not defined then listen on all local addresses. -n|--no_lookup: Turn off lookup of hostnames and portnames. That is, hosts must be given as IP addresses and ports must be given as numbers. -O|--outgoing_port: Define a port to connect to. If not specified -l|--listen_port will be used. -o|--outgoing_host: Define host to connect to. May be a hostname or an IP address. (mandatory) -q|--quiet: Only log errors. Overriden by -d|--debug. -t|--timeout: Idle timeout in seconds. Value of zero sets infinite timeout. (default 1800) Notes: Default value for binary flags is off. -L|--listen_port and -o|--outgoing_host must be defined. AUTHOR
Simon Horman <horms@verge.net.au> 12th February 2001 VANESSA_SOCKET_PIPE(1)
All times are GMT -4. The time now is 02:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy