I don't know if you have an answer yet or found the problem but error 30 is a syntax error. If the code is being developed on Ami release 5 or later that could be the problem or you may have something wrong on the line. I usually debug by eliminating part of the line until I find the error...