I'm no expert, but are you sure the put command allows the "(REPLACE" at the end of the command line?
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Behalf Of Chase, John Sent: Wednesday, October 05, 2005 9:56 AM To: IBM-MAIN@BAMA.UA.EDU Subject: More "fun" with z/OS FTP Hi, All, At the risk of "wearing out my welcome" here (assuming I haven't already), I've abandoned the idea of using a "protected" ID for FTP and am now using a NETRC dataset. Everything works as expected, until this: EZA1460I Command: EZA1736I put 'HLQ.SRCHFOR.TERSE' 'HLQ.SRCHFOR.TERSE.PRD2' (REPLACE EZA1542I Usage: PUT localfile <foreignname> EZA1735I Std Return Code = 27000, Error Code = 00007 WTF???? How is there a "usage" issue with the put command???? I expected an authorization error (code 17) on the target system, because I have not yet authorized the FTP userID to the dataset profile protecting HLQ.* on the target system. How the [EMAIL PROTECTED] is this a "usage" error instead???? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ****************************************************************************************** The information contained in this message, including attachments, may contain privileged or confidential information that is intended to be delivered only to the person identified above. If you are not the intended recipient, or the person responsible for delivering this message to the intended recipient, ALLTEL requests that you immediately notify the sender and asks that you do not read the message or its attachments, and that you delete them without copying or sending them to anyone else. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html