I had a roundtrip nonrefundable ticket (a lot cheaper than a 1 way) to return home from RDU to SJC and didn't plan to use the return portion back to RDU. I drove 45 minutes to the airport, checked in for the return flight from SJC to RDU, and drove home. Apparently, the check-in procedure triggered the computer to award the miles.