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 Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm
No new posts SNMP trap from Mainframe bipinpeter Compuware & Other Tools 6 Wed Apr 26, 2017 3:05 pm
This topic is locked: you cannot edit posts or make replies. Mainframe Opening in Allianz India- T... Rajesh Gopinathan Mainframe Jobs 0 Wed Apr 19, 2017 11:33 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm


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