In visuals on TV, scores of firemen were trying to put out the fire on a coach of the train, which was parked at the yard. Thick smoke was coming out of the windows.
A huge crowd watched the firefighting operation and the police could be seen trying to control any panic or chaos.
Senior railway officials said the fire was doused soon. They are trying to find out what cause the fire.
Before fire trucks arrived, the connecting coaches were shunted out and the adjoining rake on a nearby line was also moved out.