add program number to the message that gets printed when an attribute variable is missing or inactive