Sponsored Content
Full Discussion: FTP file to Mainframes
Top Forums UNIX for Dummies Questions & Answers FTP file to Mainframes Post 82094 by bhgopi on Sunday 28th of August 2005 09:08:32 PM
Old 08-28-2005
Question FTP file to Mainframes

Hi,

Can somebody please share a sample Korn shell script that will FTP a file from an Unix box to a region in Mainframe.It will be of great help if i can get this script ASAP.Or atleast give me a hint on how to do it.

Thanks,
Gopi
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to invoke cobol jobs on mainframes

Hi, Does any one of you know how to invoke the cobol jobs on mainframes? Thanks, Waseem (3 Replies)
Discussion started by: ahmedwaseem2000
3 Replies

2. UNIX for Advanced & Expert Users

File FTP to Unix from Mainframes.

Hi I have got one file FTPd from mainframe in an ASCII format in Unix environment. If I have to deduce record width within this file, each approach we are finding different record width. head -1 filename | wc -m awk '{print length($0)}' filename ... lists record width for all records. sed... (5 Replies)
Discussion started by: videsh77
5 Replies

3. Shell Programming and Scripting

How to FTP file usinf shell script to Mainframes

Hi , Please help me FTP an output file to mainframes using Mainframes. I have no idea how to FTP to mainframes. :( I need to deploy my code by next week. The code is ready but the client's requirement is that i need to ftp all the output file to the mainframes server. I created the dataset... (1 Reply)
Discussion started by: deepthimathew
1 Replies

4. UNIX for Dummies Questions & Answers

Problem in FTP from Unix to Mainframes

Hi, I have one file to FTP from Unix to mainframe. It has been successfully FTPied. But problem is my Unix file will be generated as file_name1.sh. But Mainframes side they need file in file.name1.sh. So they dont need underscore (_) in the file name. Please let me know if there is any solution... (1 Reply)
Discussion started by: manneni prakash
1 Replies

5. UNIX for Dummies Questions & Answers

FTP to Mainframes from Unix

Hi, Iam new to unix.I have 3 files to be FTPied to Mainframe from Unix(Sun Solaries Unix). Sample record in one file is as shown below. 123ßRajß123-456ßjackßß 124ßRajeshß123-457ßjacmßß In the above file the records are seperated by delimitter "ß". When I used the below script to FTP from Unix... (3 Replies)
Discussion started by: Rahul321
3 Replies

6. Shell Programming and Scripting

Help with shell scripts for Informatica and mainframes

I am poor at scripting.Can any one help me write a script which parametrizes the script here . #!/bin/bash `rm file1.txt` lineCount=0 newRec=1 IFS=`echo "\n\c"` while read line do lineCount=$(($lineCount + 1)) #check is it a... (2 Replies)
Discussion started by: etldev
2 Replies

7. Cybersecurity

Using sftp from mainframes to other server

HI all I need a script that would take the file from a mainframe to another server.Presently i am using a ndm but i am not knowing what the changes would be required to change to sftp. Can you please provide some code that would be helpful Thanks (7 Replies)
Discussion started by: msandeep27
7 Replies

8. Shell Programming and Scripting

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 (1 Reply)
Discussion started by: karthikm
1 Replies
LEARN(1)						      General Commands Manual							  LEARN(1)

NAME
learn - computer aided instruction about UNIX SYNOPSIS
learn [ -directory ] [ subject [ lesson ] ] DESCRIPTION
Learn gives Computer Aided Instruction courses and practice in the use of UNIX, the C Shell, and the Berkeley text editors. To get started simply type learn. If you had used learn before and left your last session without completing a subject, the program will use information in $HOME/.learnrc to start you up in the same place you left off. Your first time through, learn will ask questions to find out what you want to do. Some questions may be bypassed by naming a subject, and more yet by naming a lesson. You may enter the lesson as a number that learn gave you in a previous session. If you do not know the lesson number, you may enter the lesson as a word, and learn will look for the first lesson containing it. If the lesson is `-', learn prompts for each lesson; this is useful for debugging. The subject's presently handled are files editor vi morefiles macros eqn C There are a few special commands. The command `bye' terminates a learn session and `where' tells you of your progress, with `where m' telling you more. The command `again' re-displays the text of the lesson and `again lesson' lets you review lesson. There is no way for learn to tell you the answers it expects in English, however, the command `hint' prints the last part of the lesson script used to evaluate a response, while `hint m' prints the whole lesson script. This is useful for debugging lessons and might possibly give you an idea about what it expects. The -directory option allows one to exercise a script in a nonstandard place. FILES
/usr/share/learn subtree for all dependent directories and files /usr/tmp/pl* playpen directories $HOME/.learnrc startup information SEE ALSO
csh(1), ex(1) B. W. Kernighan and M. E. Lesk, LEARN - Computer-Aided Instruction on UNIX BUGS
The main strength of learn, that it asks the student to use the real UNIX, also makes possible baffling mistakes. It is helpful, espe- cially for nonprogrammers, to have a UNIX initiate near at hand during the first sessions. Occasionally lessons are incorrect, sometimes because the local version of a command operates in a non-standard way. Occasionally a lesson script does not recognize all the different correct responses, in which case the `hint' command may be useful. Such lessons may be skipped with the `skip' command, but it takes some sophistication to recognize the situation. To find a lesson given as a word, learn does a simple fgrep(1) through the lessons. It is unclear whether this sort of subject indexing is better than none. Spawning a new shell is required for each of many user and internal functions. The `vi' lessons are provided separately from the others. To use them see your system administrator. 7th Edition October 22, 1996 LEARN(1)
All times are GMT -4. The time now is 12:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy