KLVDM023 DYNAMIC VARIABLE "name" IS UNDECLARED; SCOPE(scope) ASSIGNED
Explanation
The dialog manager detected a reference to a dynamically constructed variable, name, which was not defined in the DECLARE section of the dialog. (Dynamically constructed variable names take the general form of &(&varname).) The NOTDECLARED(REPORT) option was requested, either in the KLVINDM member of RKANPAR or on the OPTION statement in the dialog. KLVDM015 follows this message and shows the dialog that contains the undeclared variable.
System action
name is treated as if it were declared as scope scope, and the dialog continues executing. The DEFAULTSCOPE keyword on the OPTION statement may be used to change the default scope. This message will be issued each time the dynamic variable is referenced.
User response
Review the dialog shown in message KLVDM015 to determine the proper variable scope. Then add it to the DECLARE section.
Message Type
LOG, VIEW