Kristie, You have gotten a few answers each with a piece of what you need to do.
The first thing you need to do is to automate your dump. When you start rbase, it defaults to automatically running the rbase.dat file in the default directory. Instead of running the rbase.dat file, create an rbase command file that does your export. It would look something like this: ---------------- -- make_dmp.cmd connect mydb if .#time > 12:00 then out PM.$$$ else out AM.$$$ endif print myrep where ..... out screen close exit -------------- Now you need to start R:base from a batch file that calls this. So make the batch file make_dmp.bat. --------- rem make_dmp.bat rbg65.exe make_dmp.cmd ---------- Now the last thing you need to do is come up with a mechanism to run the make_dmp.bat file twice a day. If you have an NT or 2000 server running on your network, you create another batch file using the AT command calling the make_dmp.bat. I don't have an example of the AT command here at home. If you need an example, send me a private e-mail and I will send you one when I am at the office. If you have 2000 server, you could also use the scheduler. That should do it. Troy Sosamon Denver, Co. >===== Original Message From [EMAIL PROTECTED] ===== >We are using Rbase for Windows 6.5...... > >We need to export a file twice a day automatically and name the file >with the date and am or pm. > >The file is actually a report that will print to a file and needs to be >ran at 12:00 noon and 5:30 pm. > >How would we do this? > >And can this be ran from the server? > >Thanks, >Kristie >------------------------------------------------------------------------ >-- >This communication (including any attachments) contains information >which >is confidential and may also be privileged. It is for the exclusive use >of the intended recipient(s). If you are not the intended recipient(s), >please note that any distribution, copying or use of this communication >or >the information in it is strictly prohibited. If you have received this >communication in error, please notify the sender immediately and then >destroy any copies of it. >------------------------------------------------------------------------ >-- >================================================ >TO SEE MESSAGE POSTING GUIDELINES: >Send a plain text email to [EMAIL PROTECTED] >In the message body, put just two words: INTRO rbase-l >================================================ >TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] >In the message body, put just two words: UNSUBSCRIBE rbase-l >================================================ >TO SEARCH ARCHIVES: >http://www.mail-archive.com/rbase-l%40sonetmail.com/ Troy Sosamon Denver Co [EMAIL PROTECTED] ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: INTRO rbase-l ================================================ TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED] In the message body, put just two words: UNSUBSCRIBE rbase-l ================================================ TO SEARCH ARCHIVES: http://www.mail-archive.com/rbase-l%40sonetmail.com/
