Closing Statement and ResultSet Objects

The SAS/SHARE driver can manage a maximum of 64 open statements per connection. To prevent your application from reaching that limit, remember to close Statement and ResultSet objects. In addition, when Statement and ResultSet objects are open, memory remains allocated. Therefore, closing Statement and ResultSet objects also saves memory.