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 Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts Produce Mainframe Dash Board Reports ... sdcarlson53 All Other Mainframe Topics 2 Thu Jan 05, 2017 11:01 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
This topic is locked: you cannot edit posts or make replies. Urgent Mainframe Requirments (2-10 yr... Shankar779 Mainframe Jobs 0 Sun Nov 27, 2016 1:48 pm


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