Patent ID: 8686010

Claim:
A method of preventing ulcer caused by a non-steroidal antiinflammatory agent; or a method of treating Zollinger-Ellison syndrome, or a method of treating or preventing Barrett's esophagus, functional dyspepsia, or gastric hyperacidity; or a method of inhibiting upper gastrointestinal hemorrhage due to peptic ulcer, acute stress ulcer, hemorrhagic gastritis or invasive stress, the method comprising administering an effective amount of a compound represented by the formula wherein ring C is a 5-membered ring group selected from a pyrrole ring, an imidazole ring and a thiazole ring, R 1a is an optionally substituted aryl group or an optionally substituted heteroaryl group, R 2a is an optionally substituted alkyl group, an optionally substituted aryl group or an optionally substituted heteroaryl group, R 6a and R 7a are each absent, or a hydrogen atom, a lower alkyl group, a halogen atom or a cyano group, and R 3a is an aminomethyl group optionally substituted by 1 or 2 lower alkyl groups, excluding a compound represented by the formula wherein each symbol is as defined above, or a salt thereof, to a mammal.