Date: Wed, 21 Mar 2007 11:34:44 -0400
Reply-To: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Gerhard Hellriegel <gerhard.hellriegel@T-ONLINE.DE>
Subject: Re: Passing the SAS File name in a variable..
Hi datanull,
(what a nice name for a SAS-L poster - thanks to your parents?)
you are in my direction! It would be senseless to talk of SAS-files
with "normal" sequential files (flat-files). Calling a file a "SAS-file"
because SAS can deal with? No sense, because in that case almost ALL files
would be SAS files!
Also the mentioned LIBNAME statement brought me to the idea, that it must
be something "closer" to SAS than a flatfile. But what of that? The
physical name? The logical name? Which part of the 2-level logical name?
SAS cataloges? If a physical name - on what OS? If Win or UNIX, it would
be possible to find SAS datasets at OS-level, not in zOS (the library is
one "file").
Michael brought another idea: a tape-file! Yes, also that is possible! Why
not! Very special, if it is so (where is it? Really on tape, or on disk?).
Maybe a transport file? From the XPORT engine or PROC CPORT?
However, the original poster seems not to be interested any more, I fear.
Gerhard
On Wed, 21 Mar 2007 11:17:59 -0400, data _null_; <datanull@GMAIL.COM>
wrote:
>It is impossible to know what the "original poster" is calling a SAS
>file. This is what SAS calls SAS Files.
>
>
>SAS Files
>When you work with SAS, you use files that are created and maintained
>by SAS, as well as files that are created and maintained by your
>operating environment, and that are not related to SAS. Files with
>formats or structures known to SAS are referred to as SAS files. All
>SAS files reside in a SAS data library.
>
>
>On 3/21/07, Gerhard Hellriegel <gerhard.hellriegel@t-online.de> wrote:
>> I seem to be the only one who does not understand what is meant
with "SAS
>> file". Everybody but me seems to understand NOT a "SAS" file, but a
simple
>> sequential flat-file. Is that right? Ben seems to be lucky with that, he
>> does not say anything about it!
>> Gerhard
>>
>>
>> On Wed, 21 Mar 2007 10:25:58 -0400, ben.powell@CLA.CO.UK wrote:
>>
>> >%let path=C:\temp;
>> >data a;
>> >length filename nm $100.;
>> >infile "&path\*.txt" filename=filename;
>> >informat temp $20.;
>> >input temp;
>> >nm=filename;
>> >run;
>> >
>> >HTH.
>>
|