Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FTP all unix files to mainframe system using GET command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
ajaysbedi

New User


Joined: 06 Jun 2005
Posts: 1

PostPosted: Tue Sep 04, 2007 12:51 pm    Post subject: FTP all unix files to mainframe system using GET command
Reply with quote

I have a question about ftp jcl,
i have 'n' number of files(number of files are not fixed) in unix box and i want to pull all the files to mainframe system using GET command.
i tried with wild card like
GET C:/file/*.csv
but it's not working.

Ajay
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Sep 04, 2007 1:29 pm    Post subject: Reply to: I have a question about ftp jcl
Reply with quote

Ajay, you need to spend some time reviewing the proper syntax for the ftp commands. GET and PUT don't support wildcards.

You can try MGET C:/file/*.csv

providing that the Unix system maintains a proper file-naming standard.

The better method is to retrieve a directory listing, then build a set of GET commands, one for each file in the list.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Innovations in Your Mainframe Sort Arun Raj PC Guides & IT News 4 Wed Mar 15, 2017 10:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us