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
llc2_loop(1M)						  System Administration Commands					     llc2_loop(1M)

NAME
llc2_loop - loopback diagnostics to test the driver, adapter and network. SYNOPSIS
/usr/lib/llc2/llc2_loop2 [-v] ppa /usr/lib/llc2/llc2_loop3 ppa sap frames /usr/lib/llc2/llc2_loop3 ppa type frames /usr/lib/llc2/llc2_loop4 [-v] ppa DESCRIPTION
Loop 2 The loop2 test sends a NULL XID frame to the broadcast (all 1's) destination MAC address. The source SAP (Service Access Point) value used is 0x04 (SNA's SAP). Therefore, if SNA is running on the system, the loop2 test will fail. The destination SAP value is the NULL SAP(0x00). This test finds out who is listening and can receive frames sent out from a node. The verbose (-v) option displays the MAC address of responding nodes. All possible responders may not be displayed, since the loop2 test only waits for responses for 2 seconds, but during this time 50-200 nodes may be displayed. The most likely error is: Unexpected DLPI primitive x, expected y. where x = 5 and y = 6. From /usr/include/sys/dlpi.h, the expected return value from one of the DLPI primitives is 6 (DL_OK_ACK), but instead a 5 (DL_ERROR_ACK) was received. This can occur for two reasons: o The loop2 command was issued to a non-existent PPA (Physical Point of Attachment). o The SAP(0x04) is already in use (for example, the SNA subsystem is up). Loop 3 The loop3 test sends 1,495 byte Unnumbered Information (UI) frames to the NULL (all 0's) destination MAC address. This should be used along with data capture either on the local node or another node on the same LAN to verify the transmission of data. The ppa argument spec- ifies the adapter on which to run the test. The ppa is the relative physical position of the adapter and may be ascertained by viewing the adapter configuration (see llc2_config(1)). For Token Ring or Ethernet, specify an even sap value from 2 through 254, or, for Ethernet only, any type value from 1519(0x05ef) through 65535(0xffff). It is advised to pick a value that is easily recognized when the data cap- ture output is viewed. frames is the decimal number of 1,495 bytes packets to transmit. The test will only display a message if a failure occurs. Loop 4 The loop4 test sends a TEST frame (no information field) to the broadcast (all 1's) destination MAC address. The source SAP value used is 0x04 (SNA's SAP). Therefore, if SNA is running on the system, the loop4 test will fail. The destination SAP value is the NULL SAP(0x00). This test finds out who is listening and can receive frames sent out from a node. The verbose (-v) option displays the MAC address of responding nodes. All possible responders may not be displayed since the loop4 test only waits for responses for 2 seconds, but during this time 50-200 nodes may be displayed. The loop4 test displays information similar to the following example if other nodes are listening and respond (verbose mode): -Attaching -Binding -Sending TEST -Responders 1-0000c0c12449 2-08000e142990 3-08000e142a51 4-0000c0450044 5-0000c0199e46 -Unbinding -Detaching 5 nodes responding The errors displayed are the same as for loop2. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWllc | +-----------------------------+-----------------------------+ SEE ALSO
llc2_config(1), llc2(4), attributes(5), llc2(7D) NOTES
For information about how to start the service, see llc2(7D) SunOS 5.10 18 May 1999 llc2_loop(1M)
All times are GMT -4. The time now is 11:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy