Also, you may want to place a Doevents right after you start any DO statement so that you allow other process to run as well.
Vince -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sara McNeil Sent: Tuesday, March 30, 2004 10:42 AM To: [EMAIL PROTECTED] Subject: RE: [Talk] CPU Usage Hi Ross, Do you possibly have Do...Loop logic which doesn't have a stable or a wait in it? Sara Sara McNeil Boston Software Systems www.bostonworkstation.com The Essential Tool for Healthcare Integration 866 653 5105 508 653 5015 Ext 6. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ross Stolle Sent: Tuesday, March 30, 2004 10:24 AM To: '[EMAIL PROTECTED]' Subject: [Talk] CPU Usage When running fairly uncomplicated scripts my CPU usage is running at 100%. About 2/3 of it is BWS and 1/3 is Meditech. Is there something I need to do differently in the script to minimize this? It seems it didn't start doing this until a couple months ago. The particular scripts in question are written with BWS 6.0. Thanks! Ross Stolle Integration Engineer Avera McKennan Hospital Sioux Falls, SD ____________________ Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. See our web page at http://www.lahey.org for a full directory of Lahey sites, staff, services and career opportunities. THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records.
