Upper endoscopy and capsule endoscopy will show ACTIVE gastric bleeding.
Other causes of black stool other than melena, include iron and peptobismol.
http://www.aafp.org/afp/20071001/1005.html
Check table 3
-------------------------------------------------
If your friend is dizzy or faint, due to low blood pressure from gi bleeding, he needs to go to the er.
--------------------------------------------------
How old is your friend?
Does he drink alcohol - this can cause bleeding and alcohol related liver disease can cause gi bleeding for a number of reasons.
Does he smoke - bad for the stomach lining and healing
Does he use NSAIDs like aspirin, ibuprofen, aleve, naproxen, motrin - these can cause ulcers.
-------------------------------------------------
You did not mention if he had a bleeding scan, or a family history of peptic ulcers, crohns or ulcerative colitis.