Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
ftp mput a pds

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

New User


Joined: 13 Feb 2008
Posts: 12
Location: Sweden

PostPosted: Thu Mar 18, 2010 9:35 pm    Post subject: ftp mput a pds
Reply with quote

I must be really dim, but I can't work out how to do this - the local bit is easy - mput pdsname(*) but whatever I put for the local file is ignored and it tries to store pdsname(whatever) without a path.
Why is this?

EZA1460I Command:
EZA1736I MPUT REXX.EXEC(*) +
EZA1736I //UC_SERV1/UCLAN/GEMENSAM/UC_SLASK/
EZA2329I No files match the pattern //UC_SERV1/UCLAN/GEMENSAM/UC_SLASK/
EZA1701I >>> PORT 172,18,1,1,85,0
200 PORT Command OK
EZA1701I >>> STOR REXX.EXEC(Ã…INDEX)
550 Access Denied
EZA1735I Std Return Code = 24550, Error Code = 00002
EZA1701I >>> QUIT
221 Closing Session
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Thu Mar 18, 2010 9:41 pm    Post subject: Reply to: ftp mput a pds
Reply with quote

The ONLY parameter allowed for an MPUT is the local filename (in this case your PDS):

MPut subcommand--Copy multiple data sets to the remote host.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Mar 18, 2010 10:04 pm    Post subject:
Reply with quote

You must issue the CD FTP command to navigate to the correct directory before doing the MPUT. MGET and MPUT always work with the current server directory, whichever your FTP job is pointing to. You may want to use the LCD command for your local PDS name as well.
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 Keeping Mainframe PS file naming conv... GOWTHAM All Other Mainframe Topics 2 Fri Oct 23, 2009 8:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us