Global Definition Set Checks : (C7123) Subroutines using elements not declared as parameters, local variables, or globals

(C7123) Subroutines using elements not declared as parameters, local variables, or globals

Error In:
Correctness
Description:
Subroutines use elements that are not declared as parameters, local variables, or globals. All elements used in the subroutine code should be declared, including constant data-items and conditions, enumerated values, other subroutines, and user-defined types.
Example:
subroutine F L2
Erroneous Elements:
Subroutines