Background
1965 war
By the time of the 1965 war with India, such was the fearsome reputation of the F-104 that during an early encounter between a pair of PAF Starfighters with IAF Folland Gnats, one of these dimunitive Indian fighters immediately surrendered, lowering its wheels and landing at the nearest Pakistani airfield without a shot being fired. On September 6, a PAF F-104A flying at 600 knots shot down an IAF Mystere IVA with a Sidewinder missile, and next day another IAF Mystere was shot down by the Vulcan cannon of another F-104. However, the F-104 pilot making the kill make the mistake of slowing down to dogfight with another IAF Mystere, which out-turned him and scored cannon hits on his F-104, forcing him to eject.
The Pilot was FLT LT Amjad, he was outnumbered by many IAF
The F-104A was able to make at least one successful non-visual interception of a high-flying IAF Canberra, which took place on September 21.
The Pilot was Jamal A Khan, who later became CAS in 1985
The first encounter in history between Mach 2 fighters took place on September 11, 1965. A single PAF F-104A encountered four IAF MiG-21s from Halwara. The F-104 managed to escape by exiting the combat at tree-top height and Mach 1.1, which the MiG-21s were unable to match. No blood was drawn during this encounter.
1971 war
War between Pakistan and India broke out again on December 7, 1971. By this time the Indian MiG force was formidable, with eight squadrons operationally ready. During the 1971 war with India, No 9 Squadron of the Royal Jordanian Air Force with about 10 F-104As was transferred to Pakistan to help out. It is not certain if the Jordanian F-104As were actually used in combat and if they were, whether they were flown by Pakistani or Jordanian pilots.
The PAF has admitted that two PAF Starfighters were lost in combat with IAF MiG-21s during the 1971 war, plus another one lost to ground fire.
One F104 piloted by W/C Middlecoat, missing in action no body recovered, he was heard to be ejecting over arabian sea
These losses would have left the PAF with only four of its original F-104As, although these may have supplemented by retention of some of the RJAF F-104As after the end of the war. No. 9 Squadron of the PAF continued to operate these F-104As until re-equipping with Mirage 5PAs in 1975. F-104A 56-0798 still sits on display at Sargodha. This was an ex-RoCAF machine.
F-104A/B in Combat