Great question — answering as the UphillTech team:
You could run a cable from the light fixture to a switched outlet and just put the ceiling light in parallel with the switched outlet and leave the outlet switched for a corded lamp, or you could disconnect the switched cable in the receptacle box so that the switch only operates the the new ceiling fixture. You'd put in a new receptacle with the metal tab connections intact so the receptacle would be powered without being switchable. This would leave no abandoned wire in the wall. but it might be more difficult to fish a wire to a receptacle low on a wall than to fish into a switch box higher on the wall. Alternatively, you could run a cable from the ceiling light fixture to a wall box...
Full answer by Jim Stewart: https://diy.stackexchange.com/a/108603 (CC BY-SA 3.0).
Need it done for your business? UphillTech.