what about?
SELECT PROD ,max(VENDOR1_NAME) ,max(VENDOR2_NAME)FROM IMWHERE VENDOR1_NO='177'
group by prod