<font face="Verdana, Arial, Helvetica, sans-serif" size="2">Originally posted by nlp:
That's when your second leg is overbooked or cancelled, you will get the credit for the entire flight.</font>
Most airlines will credit you with the miles of a cancelled or bumped flight if you write them, no matter if it is the same flight number or another.