Sponsored Content
Operating Systems AIX AIX Forum: FTP from AIX to Mainframe Post 303010089 by TechGyaann on Tuesday 26th of December 2017 12:09:03 PM
Old 12-26-2017
Error

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

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
netdb(n)							 Tnm Tcl Extension							  netdb(n)

__________________________________________________________________________________________________________________________________________________

NAME
netdb - Access the local network databases. _________________________________________________________________ DESCRIPTION
The netdb command provides access to network information that is stored in configuration files, the Network Information Service (NIS) or in the Domain Name System (DNS). The results of the netdb command usually depend on the local configuration of your operating system. NETDB COMMAND
netdb hosts netdb hosts name address netdb hosts address name The first version of the netdb hosts command returns a list of all locally known hosts. Each element of this list contains a host name and its IP address. The result is an empty list on many systems that are configured to use the DNS for hostname lookups. The second version of the netdb hosts command converts an IP address into a host name and the third version of the netdb hosts command converts a host name into an IP address. netdb networks netdb networks name address netdb networks address name The first version of the netdb networks command returns a list of all locally known networks. Each element of this list contains a network name and the IP network address. The second version of the netdb networks command returns the network name that belongs to the IP network address and the third version of the netdb networks command returns the network address that belongs to a given net- work name. netdb protocols netdb protocols name number netdb protocols number name The first version of the netdb protocols command returns a list of all locally known Internet protocols. Each element of this list contains a protocol name and its protocol number. The second version of the netdb protocols command returns the protocol name that belongs to number and the third version of the netdb protocols command returns the protocol number that belongs to a protocol name. netdb services netdb services name number protocol netdb services number name protocol The first version of the netdb services command returns the list of all locally known services. Each element of this list contains a service name, the service number and the transport protocol. The second version of the netdb services command returns the service name for the service described by number and protocol. The third version of the netdb services command returns the protocol number for the service described by name and protocol. netdb sunrpcs netdb sunrpcs name number netdb sunrpcs number name The first version of the netdb sunrpcs command lists all locally known Sun RPCs. Each element of this list contains a RPC name and its registration number. The second version of the netdb sunrpcs command returns the RPC name for a given RPC number and the third version of the netdb sunrpcs command returns the RPC number for a given RPC name. netdb ip class address netdb ip range address mask The first version of the netdb ip command returns the IP class of the given address. The following classes are recognized: A, B, C, D and loopback. The second version of the netdb ip command returns the list of IP addresses in the address range given by address and mask. SEE ALSO
scotty(1), Tnm(n), Tcl(n) AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm netdb(n)
All times are GMT -4. The time now is 08:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy