LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (August 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 28 Aug 2002 15:23:14 +0300
Reply-To:   arjen.raateland@ymparisto.fi
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Arjen Raateland <arjen.raateland@YMPARISTO.FI>
Organization:   Suomen ympäristökeskus
Subject:   Re: last date modified into screen variable using SCL?
Comments:   To: diskin.dennis@kendle.com
Content-type:   text/plain; charset=iso-8859-1

diskin.dennis@kendle.com wrote: > It's actually quite simple in SCL. Check out the ATTRN funtion to get the > 'MODTE' attribute of the dataset.

Thanks Dennis! It works like a charm:

lastread='(ei vielä luettu)';

ds_id=open("local.Abundance_&current_week"); if ds_id then do;

modate=attrn(ds_id,'MODTE');

lastread=trim(putn(datepart(modate),'eurdfdd10.')) || ' - klo ' || trimn(putn(timepart(modate),'hhmm5.'));

rc=close(ds_id);

end;

-- Arjen Raateland Finnish Environment Institute SYKE Research Dept. SAS Support phone +358 9 4030 0350


Back to: Top of message | Previous page | Main SAS-L page