I served a huge Thanksgiving dinner: turkey, mashed potatoes, pumpkin pie—'the whole nine yards'. [=all the foods that are traditionally served for Thanksgiving dinner]
If we're going to replace the cabinets, we might as well 'go the whole nine yards' [=do everything that there is to do] and remodel the entire kitchen.
a rail 'yard' [=a place where railroad cars are kept and repaired]
(..) Given your nature. You'll do enough jail time to convince anyone this is no setup. You'll be on probation, see a court-ordered shrink... ...the whole nine yards. You wanna serve the Commonwealth, this is your chance. We need you, pal. You've already pretended to be a Costigan from South Boston. (..)2006 The Departed