Narrative:

During the initial climb; the tower advised another aircraft of traffic at 1;700 feet on a heading 180. We inquired if the traffic advisory was meant for us and tower said 'no.' after switching to departure frequency; we were advised of traffic at 1;700 feet at our 10 o'clock. We were unable to see the bonanza due to the high wing of the c172 while climbing out through 1;200 -1;400 feet. Departure inquired again if we had visual on traffic and we could still see nothing. The departure immediately advised to stop the climb. We complied and could see the bonanza passing off our left at a 90-degree angle some 300 feet overhead.

Google
 

Original NASA ASRS Text

Title: C172 pilot reported an NMAC with a Beechcraft Bonanza.

Narrative: During the initial climb; the Tower advised another aircraft of traffic at 1;700 feet on a heading 180. We inquired if the traffic advisory was meant for us and tower said 'no.' After switching to departure frequency; we were advised of traffic at 1;700 feet at our 10 o'clock. We were unable to see the Bonanza due to the high wing of the c172 while climbing out through 1;200 -1;400 feet. Departure inquired again if we had visual on traffic and we could still see nothing. The departure immediately advised to stop the climb. We complied and could see the Bonanza passing off our left at a 90-degree angle some 300 feet overhead.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.