Written by Jorge Calderon David Lindell Waddy Wachtel and Warren Zevon. c. 1978 Zevon Music/BMI and Polite Music/ASCAP. . Nighttime in the switching yard. Get it out on the mainline. Listen to the rhythm of the train go by. Listen to the train whistle whine. Nighttime in the switching yard. See that train.... The midnight train runs both ways. Do it. Doot dat doot dat doot dadoot. Listen to the train whistle whine. Listen to the train. Listen to the track.