Green’s Dictionary of Slang

ham v.1

[ham n.1 (1)]

(US Und.) to walk.

[US]Jackson & Hellyer Vocab. Criminal Sl. 42: ham [...] To walk. Example: ‘If we get a tumble, it’s a case of ham.’.
[US]G. Milburn Hobo’s Hornbook 150: We got ditched in Myno Junction, so we started to ham.
[US]Irwin Amer. Tramp and Und. Sl. 95: Ham. –To walk, to travel by means of the ham or leg.
[US]Ragen & Finston World’s Toughest Prison 802: ham – To walk.