I have an application that retrieves data from an AS/400. I am downloading a specific member from a file using GET file.member. If the file or member doesn't exist I want to catch the error code in my program so I can end gracefully. If the file is not there I get a 550 which is the standard responce. The AS/400 gives me a 426 if the member doesn't exist. In the AS/400 documentation this is listed as "connection closed; transfer ended abnormally". I have also received 426 when I have lost the connection. Is there anyway to know for sure that a member exists?

Reply With Quote