How can I check for existing Datafiles?

Use this forum to post questions about syntax problems or general programming issues. Questions on implementing a particular aspect of econometrics should go in "Econometrics Issues" below.
Finn Weiss
Posts: 15
Joined: Fri Apr 24, 2015 8:48 am

How can I check for existing Datafiles?

Unread post by Finn Weiss »

Hello,

i am trying to write a procedure which in the end should save the created time series into a rat data file. After running this procedure, the procedure will be started a second time and also these time series should be saved to a rat data file. The name for this file will be created as an option of the procedure. Is there any possibility that rats can check if there is already a datafile with the same name existing before calculating the time series? So that i can write an alertwindow which tells the user this the chosen filename is already used.

thanks a lot
Post Reply