If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > OS/390 DB2 V7 Stored Procedures ASUTIME LIMIT ???

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-29-04, 09:25
database_abuser database_abuser is offline
Registered User
 
Join Date: Dec 2004
Location: Frankfurt
Posts: 26
OS/390 DB2 V7 Stored Procedures ASUTIME LIMIT ???

Hi all,

I'm suspecting an infinite loop in one of my COBOL stored procedures - HEY! IT CAN HAPPEN!!! and I was wondering if I could use the ASUTIME parm to kill the thread when the looping gets out of control. Until now, I've always used 'NO LIMIT'. What would be a useful rule of thumb for this?

Thanx in advance guys!

PS: yeah, I also built in a loop counter, when > 999 then ABEND....but I'd rather have the database kill the thread automagically than have to add extra programming. There's no default value for ASUTIME at this installation, so I thought I'd ask you guys.

L8R, eh,

Ralph
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On