Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Query:FTP Abend-Std Return Code=26530,Error Code = 00011

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
arunn

New User


Joined: 03 Sep 2010
Posts: 13
Location: Bengaluru

PostPosted: Tue Sep 06, 2011 2:21 pm    Post subject: Query:FTP Abend-Std Return Code=26530,Error Code = 00011
Reply with quote

Hi Guys,

I have a certain query with an FTP abend received. I am pretty new to FTP process so tried finding out all that i could before writing in the forum.

I saw two post previously posted with something similar that i am looking for:
Link1 : http://ibmmainframes.com/about30781.html
Link2 : http://ibmmainframes.com/about23819.html

Went thru both of them and the manual but still ended up with questions.

Now Coming to my issue, the JCL looks something like this :

Code:
//FTPSTEP EXEC PGM=FTP,COND=(8,LE),TIME=60,PARM='(EXIT'   
//SYSFTPD  DD  DSN=TEST.FTP.DATA,DISP=SHR     
//SYSTCPD  DD  DSN=TEST.TCPDATA,DISP=SHR   
//INPUT    DD  DSN=TEST.FTPCARD,DISP=OLD           
//OUTPUT   DD  SYSOUT=*                                   
//SYSOUT   DD  SYSOUT=*                                   
//SYSPRINT DD  SYSOUT=*



The FTP card has parameters as below :
Code:
127.0.0.1                                               
username                                                     
password                                                 
ASCII                                                     
PUT  'TEST.FILENAME'   '12345678.TTT'   
RENAME '12345678.TTT'   '12345678.TXT'


The job abended at the FTPSTEP, the sysout is as below:

Code:
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.                                               
EZA1789I PASSWORD:                                                             
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. icon_wink.gif

My question is here : icon_rolleyes.gif
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. icon_biggrin.gif
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7251

PostPosted: Tue Sep 06, 2011 3:31 pm    Post subject: Reply to: Query:FTP Abend-Std Return Code=26530,Error Code =
Reply with quote

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.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Sep 06, 2011 3:43 pm    Post subject:
Reply with quote

Code number - 26
Subcommand - PASS
EXIT_IF_ERROR - true

530 Server requires authorized user

For me its a password issue. And 127.0.0.1 is a loopback IP, thats a very strange IP to FTP to.
Back to top
View user's profile Send private message
arunn

New User


Joined: 03 Sep 2010
Posts: 13
Location: Bengaluru

PostPosted: Tue Sep 06, 2011 3:46 pm    Post subject: Reply to: Query:FTP Abend-Std Return Code=26530,Error Code =
Reply with quote

Thanks for the response guys.

The IP is just a sample random IP i took up. Just for example purposes. I thought i had included that in the initial post...oops icon_lol.gif , my bad.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Sep 06, 2011 3:53 pm    Post subject:
Reply with quote

Well if you used it, you just FTP'ed to yourself. Talk with the network/security people.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Sep 06, 2011 7:33 pm    Post subject:
Reply with quote

Hello,

How do you know the userid/password combination used is valid?

You need to work with the people who support the remote system and make sure the user is defined properly (including proper permissions).
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 -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us