Oracle Error ORA-24159: invalid variable definiton

Oracle Error Message

ORA-24159: invalid variable definiton

Reason for the Error

variable name or variable type is not specified in the variable definiton

Solution

specify both variable name and variable type in the variable definition structure