create function uixlocal_readopeningstatement