Having a job, longing to spend yen (7)

I believe the answer is:
earning
'having' is the definition.
The definition and answer can be both to do with ownership as well as being present participle verbs.
Perhaps they are linked in a way I don't understand?
I don't understand the rest of the clue.
Can you help me to learn more?
(Other definitions for earning that I've seen before include "Receiving in return for work" , "Deserving" , "Gaining a wage" , "Making money" , "Realising" .)