Green’s Dictionary of Slang

scram v.

[SE scramble or Ger. schrammen, to run away]
[1920s+] (orig. US)

1. (also scram out) to escape, to run off.

2. as imper. scram!

In derivatives

scramming (n.)

[mid-19C] (UK Und.) of a tramp, taking a job of work, then quickly moving on.

scramsville (n.) [-ville sfx1 ]

[1950s–60s] desertion, the act of running off.

In phrases

do the scramming act (v.)

[1930s] (US) to disappear, to run off.

take a scram (v.)

[1940s] (US Und.) to run off.