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 All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Techm mainframe deveoper 6 to 12 year... Mainframe Jobs 0
No new posts USAGE parameter of RACDCERT CONNECT c... All Other Mainframe Topics 2
Search our Forums:


Back to Top