IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP all unix files to mainframe system using GET command


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Tue Sep 04, 2007 1:29 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Routing command Address SDSF to other... TSO/ISPF 2
Search our Forums:

Back to Top