PUT 'TEST.FILENAME' '12345678.TTT'
RENAME '12345678.TTT' '12345678.TXT'
The job abended at the FTPSTEP, the sysout is as below:
EZA1736I FTP (EXIT
EZY2640I Using dd:SYSFTPD=TEST.FTP.DATA for local site configuration
EZA1450I IBM FTP CS V1R12
EZA1466I FTP: using TCPIP
EZA1772I FTP: EXIT has been set.
EZA1456I Connect to ?
EZA1736I IP ADDRESS
EZA1554I Connecting to: 127.0.0.1 port: 21.
220 Microsoft FTP Service
EZA1459I NAME (127.0.0.1 : ESP):
EZA1701I >>> USER username
331 Password required for username.
EZA1701I >>> PASS
530 User username cannot log in.
EZA1735I Std Return Code = 26530, Error Code = 00011
EZA1701I >>> QUIT
i cross referenced the manuals and was able to find out the meaning of the return code and the error code :
Std Return Code = 26530
Code number - 26
Subcommand - PASS
EXIT_IF_ERROR - true
530 Server requires authorized user
Explanation: The connection to the FTP server is protected by the GSSAPI security mechanism. The server FTP.DATA file contains the statement SECURE_LOGIN VERIFY_USER. The USER command that was received has a username that does not match the name found in the Kerberos credentials sent from the client during the authentication negotiation.
System Action: The USER command is rejected. FTP continues.
User Response: Log in using the username that matches the name that is passed in the Kerberos credentials.
System Programmer Response: If username match is not necessary, change the SECURE_LOGIN statement to have a value of either REQUIRED or OPTIONAL.
Error Code = 00011
Code - 11
Error - FTP_LOGIN_FAILED
Examples of cause - User ID, password, or account info is not valid.
Now with all the information posted above, my query concerns from the sysout. Taking a closer look at it you will notice that there are the notes that 530 User username cannot log in. Same query is in Link 1 pasted above.
In link 2 the similar notes mentions 530 PASS command failed.
I am yet to know if the username or password was incorrect when passed in for my JCL . Hopefully someone might get that info for me when this job had actually failed.
My question is here :
1. Are there any other info that could passed for the notes starting with 530.
2. Where does that information get populated from.
3. Could there be different messages sent for a similar issue - Std Return Code = 26530, Error Code = 00011 .
I hope with the info put above it answers any queries you may get. Hopefully it should not turn out to be too much info for the query.
It is pretty standard if either Username or Password is wrong for a system to respond "Username or Password is wrong", the same message for both cases. It saves giving a clue to someone trying to get access to a system if they do not know if either, or both indeed, are incorrect. A system should never tell you that either a Username or a Password is correct, except by allowing you to log-on after successfullt entering both.