[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sas-l
Subject:    Re: Detecting Missing Files (WIN3.1 )?
From:       Karsten Self <kmself () IX ! NETCOM ! COM>
Date:       1996-06-29 6:04:04
[Download RAW message or body]

With SAS 6.11, SCL functions are available to the DATA step and Macro
facility.  The FEXIST function should provide what you are looking for.
Syntax for SCL functions, as well as macro enhancements alse introduced with
6.11 are available as a postscript document from

    ftp://ftp.sas.com/techsup/download/misc/macroenh.psl

...very much worthwhile.  I'd give you the syntax, but I don't have a
postscript viewer and my hardcopy is at the office....

Alternatively, you can use the X command to write a directory listing to a
file and look for the particular file in this via a data step:

x "dir mydir > dir.txt";
data dir;
    file "dir.txt";
    input....;
    run;


At 01:06 AM 6/28/96 -0400, Theo DP wrote:
>Is there an EZ way to verify a file's existence using Base Sas (not AF!)
>from WIN3.1 SAS?
>
>
----------------------------------------
Karsten Self / kmself@ix.netcom.com
  ...internet immortality achieved:
  http://www.unitedmedia.com/comics/dilbert/puppets/HAMILTON.jpg

What part of gestalt don't you understand?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic