Date: Mon, 25 Oct 1999 14:05:59 -0700
Reply-To: "Terjeson, Mark" <TERJEMW@DSHS.WA.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Terjeson, Mark" <TERJEMW@DSHS.WA.GOV>
Subject: Re: how to preserve the sas dataset date?
There may be many alternatives, one might be the
use of the DATASET LABEL.
data test(label=Created by abc.sas on 99/99/99 99:99);
* label displayable in proc contents ;
proc contents data=test;
* label also displayable in LIBraries window, etc. ;
Hope This Helps,
Washington State Department of Social and Health Services
Division of Research and Data Analysis (RDA)
(360) 902-0705 fax
> -----Original Message-----
> From: Hongjie Wang [SMTP:Hongjiew@AOL.COM]
> Sent: Monday, October 25, 1999 1:55 PM
> To: SAS-L@LISTSERV.UGA.EDU
> Subject: how to preserve the sas dataset date?
> Dear friend, I have a question.
> Suppose I wrote a program that produced a permanent dataset date1. One
> physically see the file sitting on the hard driver and it has a creation
> associated with it. This date is consistent with the time my sas program
> Suppose someone else opened the dataset directly (one can do that in
> by double clicking the file). The dataset (the file)'s creation date got
> changed, although
> he did not change anything. This causes some problem for system people,
> tried very hard to link the dataset with the program that created it. Is
> there a way to make the dataset's date stay unchanged (provided of course,
> change has been made).
> If another program runs and overwrite the dataset, it is fine (and should
> that the date gets changed.
> Can someone gives me some advice on that?