I am working in Meditech Magic with Workstation 3.x. I have a script that 
closes my LSS databases.  In the screen where I am looking for the transfer of 
the data from the clinics (which use PRV) to complete, there is a pop up that 
says "Again?".  This causes the screen I want to look at to not be the current 
screen.  I have used the command Key "@_LASTSCREEN" to check for the word 
COMPLETE in the status field.

This works absolutely perfectly when I start the script manually. However the 
script has to run between midnight and 7am and I'm tired of getting up in the 
middle of the night to run it manually.  So last night I scheduled it for just 
a one-time run at 3am.  At about 5am I dialed in to check on it.  It was stuck 
in the loop looking for "COMPLETE" and there was an "@" typed in after the word 
"Again?"

I went into debug mode and stepped through the loop a few time.  I backed out 
the "@" sign but the script kept putting it back in.  I then patched the script 
and restarted it manually.  It ran perfectly.

What is going on here?????

Shirley Hammack
I.T. Financial Analyst
Jackson County Memorial Hospital
580-482-4781 ext 2554


The documents accompanying this transmission contain confidential information, 
belonging to the sender, that is legally privileged.  This information is 
intended only for the use of the individual or entity named above.  The 
authorized recipient of this information is prohibited from disclosing this 
information after its stated need has been fulfilled.

If you are not the intended recipient, you are hereby notified that any 
reading, disclosure, copying, distribution, or action taken in reliance on the 
contents of these documents is strictly prohibited.  Violators may be 
prosecuted.  If you have received this email in error, please notify the sender 
immediately and destroy the transmitted information.

Reply via email to