Quantcast
Channel: SCN : All Content - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6745

Infinite loop and exit control issue(In XSJS)

$
0
0

Hi Guys,

 

 

I have faced one issue while running a code in xsjs. When I executed its executed fine But

It caused infinite loop kind of situation and my thread was running for hours(4- 5 instances of the same program as I have run it for more than 1 times with slight change in the program) that causing the Basis guys to kill that thread explicitly.

 

And I have used the conn.close(); statement also.

 

Kindly suggest me how to handle the infinite loop kind of situation and how to use the exit control inside a loop.

 

And how to flush or release the db connection. If its running for more times.

 

 

 

 

 

 

Regards,

 

Sumit Kumar


Viewing all articles
Browse latest Browse all 6745

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>