Narrative:

This was an INS training flight. We were told to taxi into position and hold. The controller told us we were cleared for takeoff and were given a heading of 050 degrees. I did not hear the heading and at that moment requested a squawk code. Controller advised we would be given a squawk when airborne. This comment caught me by surprise because we were squawking VFR and the control zone was in effect. After departure we flew heading 110 degrees (runway heading). The control zone was in effect, however, after takeoff we were in and out of the clouds. An small transport was cleared for takeoff about 4 mins after us and given runway heading. This led to about a 300' vertical sep. As mentioned earlier, we were in and out of the clouds at this point. I did see the small transport pass over us. My student at the time of takeoff had the communications. His reply to the controller on the takeoff clearance was, 'roger.' I believe my preoccupation with getting a squawk code led me to miss the assigned heading. I feel there would have been less confusion if the squawk had been given with the clearance (during the initial call to clearance delivery).

Google
 

Original NASA ASRS Text

Title: PLT OF TRAINING FLT FAILED TO FLY ASSIGNED HEADING OF 150 DEGREES. FLEW RWY HEADING OF 110 DEGREES. DEPARTING ACFT WAS OBSERVED IN CONFLICT PASSING 300' OVERHEAD.

Narrative: THIS WAS AN INS TRNING FLT. WE WERE TOLD TO TAXI INTO POS AND HOLD. THE CTLR TOLD US WE WERE CLRED FOR TKOF AND WERE GIVEN A HDG OF 050 DEGS. I DID NOT HEAR THE HDG AND AT THAT MOMENT REQUESTED A SQUAWK CODE. CTLR ADVISED WE WOULD BE GIVEN A SQUAWK WHEN AIRBORNE. THIS COMMENT CAUGHT ME BY SURPRISE BECAUSE WE WERE SQUAWKING VFR AND THE CTL ZONE WAS IN EFFECT. AFTER DEP WE FLEW HDG 110 DEGS (RWY HDG). THE CTL ZONE WAS IN EFFECT, HOWEVER, AFTER TKOF WE WERE IN AND OUT OF THE CLOUDS. AN SMT WAS CLRED FOR TKOF ABOUT 4 MINS AFTER US AND GIVEN RWY HDG. THIS LED TO ABOUT A 300' VERT SEP. AS MENTIONED EARLIER, WE WERE IN AND OUT OF THE CLOUDS AT THIS POINT. I DID SEE THE SMT PASS OVER US. MY STUDENT AT THE TIME OF TKOF HAD THE COMS. HIS REPLY TO THE CTLR ON THE TKOF CLRNC WAS, 'ROGER.' I BELIEVE MY PREOCCUPATION WITH GETTING A SQUAWK CODE LED ME TO MISS THE ASSIGNED HDG. I FEEL THERE WOULD HAVE BEEN LESS CONFUSION IF THE SQUAWK HAD BEEN GIVEN WITH THE CLRNC (DURING THE INITIAL CALL TO CLRNC DELIVERY).

Data retrieved from NASA's ASRS site as of July 2007 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.