Date: Thu, 18 May 2000 15:11:31 GMT
Reply-To: shiling@MATH.WAYNE.EDU
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: shiling@MATH.WAYNE.EDU
Organization: Deja.com - Before you buy.
Subject: Re: Testing if files have arrived
That one thought comes to mind is,
write a script to check the desired files under the desired location.
If files found, then it kicks off your sas job. Otherwise it takes a
nap.
In article <2710430F08DAD211A3F70008C71EEE6902F53B25@s-cho-exch0001>,
Richard.Simhon@CORNHILL.CO.UK wrote:
> All,
>
> I currently run a daily program part of which imports a number of .txt
files
> into a data set. I would like to kick off this program automatically
which
> in itself is not a problem. What is stopping me from doing this, is
the fact
> that these .txt files are downloaded in the folder at varying times
each day
> (Reasons are too numerous to site).
> My question is:- Can I place some sort of test in SAS to probe the
> appropriate directory to see if the .txt files have been downloaded
into
> that directory? and if the result is positive, to then run the
program.
>
> Thanks in advance.
>
> Richard Simhon
> Business Analyst
> Email: Richard.Simhon@Cornhill.co.uk
>
> **********************************************************************
> Copyright in this message and any attachments remains with us. It is
> confidential and may be legally privileged. If this message is not
> intended for you it must not be read, copied or used by you or
> disclosed to anyone else. Please advise the sender immediately if
> you have received this message in error.
>
> Although this message and any attachments are believed to be free of
> any virus or other defect that might affect any computer system into
> which it is received and opened it is the responsibility of the
> recipient to ensure that it is virus free and no responsibility
> is accepted by Cornhill Insurance PLC for any loss or damage in any
> way arising from its use.
>
> Cornhill Insurance Plc, Registered in England number 84638,
> Registered Office 32 Cornhill, London EC3V 3LJ.
> **********************************************************************
>
Sent via Deja.com http://www.deja.com/
Before you buy.
|