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 (June 2004, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 14 Jun 2004 15:38:01 -0400
Reply-To:     sashole@bellsouth.net
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Paul M. Dorfman" <sashole@BELLSOUTH.NET>
Organization: Sashole of Florida
Subject:      Re: Need to generate random words/letter configurations in SAS
Comments: To: Tim Braam <timothy.j.braam@CENSUS.GOV>
In-Reply-To:  <e9ebec6c.0406140947.6d565c69@posting.google.com>
Content-Type: text/plain; charset="US-ASCII"

Tim,

Methinks it is the same situation as with PROC DELETE... Still fully operational, but R&D has stopped, so no new documentation is provided. The only place I found it is in the V6 manual, as I noted in the previous post. I guess you will have a similar chance of finding any documentation on implicitly subscripted arrays (also fully operational and used as needed, and not by me alone), only you will have to hark back all the way to the Version 5 'Basics' manual. Still keeping the copy of mine...

Kind regards, ---------------- Paul M. Dorfman Jacksonville, FL ----------------

> -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On > Behalf Of Tim Braam > Sent: Monday, June 14, 2004 1:48 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Re: Need to generate random words/letter > configurations in SAS > > Interesting thing about PROC SPELL, there is nothing I could > find in the OnLine Doc for V8 or V9, nor in the SAS System > help for V9 to document this procedure. Wonder if that means > it's something they wished you didn't know about... > > sashole@bellsouth.net (Paul M. Dorfman) wrote in message > news:<20040611212746.UGFF25249.imf18aec.mail.bellsouth.net@sas > holewmis4a7>... > > Richard, > > > > Why look for the dictionary if PROC SPELL can look it up > for you :-) ? > > > > filename temp temp ; > > > > data _null_ ; > > input word: $12. @@ ; > > list ; > > file temp ; > > put word ; > > cards ; > > let's see if sas spell procdure > > can bee used to verify whether tha > > seperate words in this, uhm, flie are, uhm, valid against a > stantard > > internal dictionary ; run ; > > > > option nodate nonumber nocenter ; > > title ; > > > > proc spell in = temp verify ; > > run ; > > > > In the OUTPUT window, this program generates (the dashes added) > > > > File: "TEMP" > > > > Unrecognized word Freq Line(s) > > ------------------------------------------------ > > > > sas 1 4 > > procdure 1 6 > > tha 1 13 > > seperate 1 14 > > uhm 2 18, 21 > > flie 1 19 > > stantard 1 25 > > ----------------------------------------------- > > > > Actually, the proc is even smarter than that; for example, > adding the > > SUGGEST option to the VERIFY option resuts in > > > > Unrecognized word Freq Line(s) > > ------------------------------------------------ > > > > sas 1 4 > > Suggestions: ass, as, gas, has, pas, was, sad, sag, > sap, sat, saw, > > say, seas, spas, sags, saps, saws, says, sash > > > > procdure 1 6 > > Suggestions: procure, procedure > > > > tha 1 13 > > Suggestions: tea, the, thy, thai, than, that, thaw > > > > seperate 1 14 > > Suggestions: separate > > > > uhm 2 18, 21 > > Suggestions: hum, ohm > > > > flie 1 19 > > Suggestions: file, lie, fie, flee, flip, flit, flied, flier, > > flies > > > > stantard 1 25 > > Suggestions: standard > > ------------------------------------------------ > > > > Better still, you can add, specify, create, and populate your own > > dictionaries or add your own entries or update the master > dictionary. > > PROC SPELL does not produce an output data set, but it is not > > difficult to reroute the output and parse it. The proc is amptly > > documented in SAS Procedures Guide, version 6, Third Edition. > > > > Kind regards, > > ------------------ > > Paul M. Dorfman > > Jacksonville, FL > > ------------------ >


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