Date: Wed, 3 Jan 2001 14:32:35 +0100
Reply-To: Peter Crawford <peter.crawford@DB.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Peter Crawford <peter.crawford@DB.COM>
Subject: Data step functions in AF, V6.12, TS065, NT4
Content-type: text/plain; charset=iso-8859-1
Hi David
have a look at the scl function VarStat()
rc=VARSTAT(data-set-id,varlist-1,statistics,varlist-2);
Datum: 03/01/2001 12:38
An: SAS-L@listserv.uga.edu
Antwort an: davidjohnson@halifax.co.uk
Betreff: Data step functions in AF, V6.12, TS065, NT4
Nachrichtentext:
It is simple enough to code a piece of Base or SQL code to retrieve basic
stats (eg max, min, sum, n) from a data set for an AF application.
However, (AF 101!) when testing individual frames in TESTAF, submit blocks
are not run. So my source entries, or SQL blocks are not submitted, and
the stat values not retrieved/ updated. Running the application to get to
the frame under development is rather long winded.
It is conceptually simple to code an AF method to open a data set and step
through the data row by row, and accumulate values. But do I need to? Have
I missed something fundamental here?
I have another 8 weeks of development time and the time to code the stat
retrieval is probably a little less than the time needed to start the
application from the beginning each time.
Typical data sets to analyse are 3000-6000 rows.
Replies direct please, I don't subscribe here and don't often get the
chance to browse the list. I'll summarise private postings and the
solution to the list.
Thanks
David
--
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.