Problem in FTP from Unix to Mainframes


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem in FTP from Unix to Mainframes
# 1  
Old 08-21-2008
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 for this. Thanks in advance.
# 2  
Old 08-21-2008
while ftp use rename command to change file name..
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. 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

2. Shell Programming and Scripting

Problem with FTP from Unix to Windows

I am unable to use get or put command in a ftp session where remote system in Windows_NT. ftp> put rowb1_cbp14_20111116.txt local: rowb1_cbp14_20111116.txt remote: rowb1_cbp14_20111116.txt 227 Entering Passive Mode (10,130,6,29,14,245) (3 Replies)
Discussion started by: Naga06
3 Replies

3. Shell Programming and Scripting

Problem with FTP from Unix to Windows

I am unable to use get or put command in a ftp session where remote system in Windows_NT. ftp> put rowb1_cbp14_20111116.txt local: rowb1_cbp14_20111116.txt remote: rowb1_cbp14_20111116.txt 227 Entering Passive Mode (10,130,6,29,14,245) Pls suggest a way. (0 Replies)
Discussion started by: Naga06
0 Replies

4. 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

5. 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

6. 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

7. UNIX for Dummies Questions & Answers

FTP problem on unix-server

hi there, i am a sap-programmer and i sent pdf-files via FTP from sap (on an iseries-machine) to a UNIX-server every day. i am doing it via MPUT *.pdf It works well until today. I got the ftp-message "Arguments too long"....i searched for it in the internet and here in the forum. it says... (9 Replies)
Discussion started by: smartin999
9 Replies

8. UNIX for Dummies Questions & Answers

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 (1 Reply)
Discussion started by: bhgopi
1 Replies
Login or Register to Ask a Question