LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (May 1997, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 16 May 1997 09:20:03 -0400
Reply-To:     Chris Roper <QLXCAR@AOL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Chris Roper <QLXCAR@AOL.COM>
Subject:      Re: PROC SUMMARY: CLASS with NWAY vs. BY
Comments: To: edheaton@fenix2.dol-esa.gov

Edward,

The CLASS statement will put all crossings of the variables listed into memory, which can be a problem if you are dealing with very large datasets or you have very tight memory constraints. The BY statement expects that the input dataset will be either sorted or indexed by the variables listed on the BY statement. Both will give you the same result, and on datasets of small to moderate size it usually is just a matter of style as too which one you use. The printed output will be formatted a little differently with CLASS creating a more compact format. Personally, I use the CLASS statement unless memory or efficiency becomes an issue, simply to save keystrokes, and because I like the format of its printed output more.

Hope this helps,

Chris. /***************************************************************************** **/ /* Christopher A. Roper Rt. 2 Box 224C */ /* Qualex Consulting Services, Inc. Hillsville, Va. 24343 */ /* A SAS Institute Quality Partner USA */ /* QLXCAR@AOL.COM (540) 398 - 3757 */ /* www.qlx.com */ /***************************************************************************** **/


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