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 help!!!!!

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: FTP help!!!!!
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Jan 25, 2012 2:23 am    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Jan 25, 2012 3:11 am    Post subject: Reply to: FTP help!!!!!
Reply with quote

most IBM messages can be searched using the IBM LookAT facility
http://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
http://www-03.ibm.com/systems/z/os/zos/bkserv/index.html


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

for the FTP command syntax You might start from here
http://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

Moderator Team Head


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

PostPosted: Wed Jan 25, 2012 3:55 am    Post subject: Reply to: FTP help!!!!!
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    Post subject: Reply to: FTP help!!!!!
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:


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