In the following example, i1 is defined in local storage. To resolve this error, define i1 in the working-storage section instead.
local-storage section. 01 i1 binary-long. move 3 to i1 perform s1(4) perform s2(4) goback . s0 section. display i1 . s1 section(i2 as binary-long). display i1 space i2 . s2 section(i2 as binary-long). display i2 perform s0 .