I noticed if you paste a rules script.  You have to leave the script (not the 
project) you are pasting to and come back to be able to see it.  If you don't 
it appears that the script never copies.  (  v9.611 r1199 )
 
Just in case anyone has had the same problem....

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rich McNeil
Sent: Saturday, December 08, 2007 9:52 AM
To: [email protected]
Subject: RE: [Talk] File Not Found...?



You might try:

 

Step|Start|

Rule||

      F("File") = "C:\Delimited.txt"

      F("Dir_") = Dir(F("File"))

Step|a|

Rule|F("Dir_")=|End

Rule||

      D.Open_ F("File"), ftDelimited

Step|Continue|

Step|End|

 

(To see this, copy the lines above and paste them into a Rules script)

 

Rich McNeil

Boston Software Systems

866 653 5105 x 813

www.bostonworkstation.com

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Walker, Reese
Sent: Saturday, December 08, 2007 11:05 AM
To: [email protected]
Subject: [Talk] File Not Found...?

 

I have an early morning scheduled script that looks at a network drive for a 
certain file.  If it doesn't find the file it throws an error, but the script 
will keep running. Does anyone know if there is code I could use to tell the 
script that if the file is not there, go straight to my end step, so that it 
will close and not mess up the scripts that are scheduled to run afterwards?  
Thanks in advanced for the help.

 

I'm looking for something like this...

 

D.Open_ F("File"), ftFixedLength, "C:\Bss70\Template\IPAYX_PAYMENTS.bds": 

..Go to Step CONNECT TO STAR

IF FILE NOT FOUND...Go to Step END

 

Reese

 

Reese E. Walker
Financial Systems Analyst
Phoebe Putney Memorial Hospital
Albany, GA. 31702
Phone: (229) 312-4259
Pager: (229) 431-7658
Fax: (229) 312-4316

 

  _____  

 


Disclaimer:
The HIPAA Final Privacy Rule requires covered entities to safeguard
certain Protected Health Information (PHI) related to a person's
healthcare. Information being faxed to you may include PHI after
appropriate authorization from the patient or under circumstances
that do not require patient authorization. You, the recipient, are
obligated to maintain PHI in a safe and secure manner. You may not
re-disclose without additional patient consent or as required by
law. Unauthorized re-disclosure or failure to safeguard PHI could
subject you to penalties described in federal (HIPAA) and state
law. If you the reader of this message are not the intended
recipient, or the employee or agent responsible to deliver it to
the intended recipient, please notify us immediately and destroy
the related message.



DISCLAIMER:
This message is intended for the sole use of the addressee, and may contain 
information that is privileged, confidential and exempt from disclosure under 
applicable law. If you are not the addressee you are hereby notified that you 
may not use, copy, disclose, or distribute to anyone the message or any 
information contained in the message. If you have received this message in 
error, please immediately advise the sender by reply email and delete this 
message.

Reply via email to