I'm responding on my thread because I resolved described problem.. Error was however in syntax.. lacked one END;