I am facing issue with invalid cursor handle while fetching second record from cache. This is how I am doing it - I create a cache and inserts two records in it from ErrorStack of Editline thru SaveCache function. Now I need to access these records from function call RetrieveCache which passes in handle(this handle was same as for SaveCache function). I pass handle and open cursors and fetches first record successfully and uses same cursor handle as input parameter for next RetrieveCache call but when i make function call again to get second record -> I get nothing but error of Invalid cursor encountered. Necessary to mention, this functionality absolutely works fine locally. Looking forward for some tips/ideas to solve this.