Message value
Message type
2621
Error
You have used a indicator variable in a statement and that indicator variable has not been declared in a declare section.