You can't specify (REPLACE on a PUT, only on a GET
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED]
Behalf Of Chase, John
Sent: 05 October 2005 14:56
To: [email protected]
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
This e-mail message is for the sole use of the intended recipient(s)and may
contain confidential and privileged information of Transaction NetworkServices.
Any unauthorized review, use, disclosure or distribution isprohibited. If you
are not the intended recipient, please contact thesender by reply e-mail and
destroy all copies of the original message.
----------------------------------------------------------------------
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