sqlca is not getting populated when there is no sql statement is executed between beginning and end of transaction. What should I do to initialize the sqlca state in the pro-c code.

Thanks in advance