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

FTP help!!!!!


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
George Tillmon

New User


Joined: 22 Mar 2010
Posts: 27
Location: Montgomery, AL

PostPosted: Wed Jan 25, 2012 2:19 am
Reply with quote

I am trying to ftp a file from the mainframe to the lan. HOwever, I get the following error:

EZA1736I PUT 'RP.FP52.TXT' +
EZA1736I 'H:/COSTACCT/TINA/FEDERAL PORTS/BLS65SUM/BLS65SUM.TXT' +
EZA1736I (REPLACE
EZA1542I Usage: PUT localfile <foreignname>
EZA1735I Std Return Code = 27000, Error Code = 00007
EZA1701I >>> QUIT
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jan 25, 2012 2:23 am
Reply with quote

The error message is telling you the problem. If you read the manual, you will find that (REPLACE is an option for the GET statement; however, it is not allowed on a PUT statement.
Back to top
View user's profile Send private message
George Tillmon

New User


Joined: 22 Mar 2010
Posts: 27
Location: Montgomery, AL

PostPosted: Wed Jan 25, 2012 2:25 am
Reply with quote

Thanks. However, we do not have a manual around here. That is why I was trolling on the Internet.

Robert Sample wrote:
The error message is telling you the problem. If you read the manual, you will find that (REPLACE is an option for the GET statement; however, it is not allowed on a PUT statement.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 25, 2012 3:11 am
Reply with quote

most IBM messages can be searched using the IBM LookAT facility
www-03.ibm.com/systems/z/os/zos/bkserv/lookat/


and all You might want to know about IBM manuals can be found starting from
www-03.ibm.com/systems/z/os/zos/bkserv/index.html


TCP/IP manuals are part of the COMMUNICATION server suite
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/F1A1BKA1

for the FTP command syntax You might start from here
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B980/CCONTENTS?SHELF=F1A1BKA1&DN=SC31-8780-08&DT=20080602140814

not the latest ones, but you can find the ones for YOur zOS level easily from my first link
Back to top
View user's profile Send private message
superk

Global Moderator


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

PostPosted: Wed Jan 25, 2012 3:55 am
Reply with quote

I don't think FTP understands the concept of a drive letter in the filename. Also, if it helps, you can always use the help command to validate the syntax of a command on the server you're communicating with.
Back to top
View user's profile Send private message
bodatrinadh

Active User


Joined: 05 Jan 2007
Posts: 101
Location: chennai (India)

PostPosted: Wed Jan 25, 2012 2:17 pm
Reply with quote

Hi George,

If you know Mainframe server ID, You can try a Manual FTP using Command Prompt (DOS).

H:/COSTACCT/TINA/FEDERAL PORTS/BLS65SUM/ftp <Mainframe server ID>
Password:<Mainframe Password>
get 'RP.FP52.TXT' BLS65SUM.TXT
quit

Thanks
-3nadh
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

 


Search our Forums:

Back to Top