A local variable has as its scope of reference the routine
in which it is declared. If you omit the GLOBAL keyword, any variables
declared in the DEFINE statement are local variables, and are not
visible in other SPL routines.
For this reason, different SPL routines that declare local variables
of the same name can run without conflict in the same DB-Access or
SQL administration API session.
If a local variable and a global variable have the same name, the
global variable is not visible within the SPL routine where the local
variable is declared. (In all other SPL routines, only the global
variable is in scope.)
The following DEFINE statement syntax is for declaring local variables: