Parse the NAMES reply and make use of the ENDOF replies