Aircraft Equipment Problem Less Severe; Flight Deck / Cabin / Aircraft Event Other / Unknown
Flight Crew Inflight Shutdown; Flight Crew Diverted; General Declared Emergency
Aircraft
Leveling off at FL 340 received a LVL 2 'Eng 2 Loop A' fault.  Turned on overhead lights and gave First Officer [FO] the aircraft and comm.  Pulled out the appropriate QRH; and on first decision tree had an unsatisfactory engine fire test.  Continued with appropriate decision tree branch after confirming with FO; resulting in fire warning and referral to Engine Fire Severe Damage checklist.  Performed phase ones; and shut down engine.  Diverted to closest airport and planned and executed an ILS approach. Cleared runway after landing and had aircraft inspected by fire department who reported noticing no combustion/damage on the engine; cleared to taxi to gate with fire department escort.
MD-10 Captain reported inflight shutdown of #2 engine when they received a 'Loop A' fault.