Hi:
This sort of problem is very had to debug. The one time I saw it, a programmer had executed a go to from an INPUT statment control block (which isn't a good idea). I'd start looking at INPUT and INPUT ARRAY statments.
You don't say, but I'll bet you're using the 4GL compiled and not the rapid development system, RDS. Place debugging statments in the code trying to narrow down where the code fails.
Regards,
Ed