Take a look at Soundtraxx 810132 DBX9000 Wiring harness. I used one of these when I installed a decoder in a tender. The female end went into the cab and the male end with the harness came out of the tender.
You can order these from many retailers but I know that MB Klien has them in stock
Joe
Do they have a female to male 9 pin adapter cable? I will be connecting a Digitrax SDH164 decoder from the Bachmann Niagara 4-8-4 steam locomotive to the tender using the orange and gray (motor) white and blue (light) and red and black (left/right wheel pickup). The wires I mentioned will be connected to the steam locomotive which has a male plug that connects to the Digitrax SDH164 decoder at the end, so I need a female 9 pin mini plug that has a male end at the other side so I can connect the plug to the SDH164 decoder. Do you know which vendor makes those plugs?