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:   Fri, 11 Jun 2004 20:20:12 -0400
Reply-To:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:   Re: Need to generate random words/letter configurations in SAS

For this purpose, why do they have to be words? Why can't they be character values in general (admitting numeric digits and punctuation marks, etc.)?

On Thu, 10 Jun 2004 23:00:30 -0700, Cecilie <casiis_crb@YAHOO.COM> wrote:

>Hi SAS-L, > >Does anyone have code that can generate random words? They can be >gibberish, but need to be unique. > >I need to be able to have them in batches of 5,000 or so. The words >will be used to test a merge by name, so I need random names to merge. > The words can be up to 15 characters long. > >I've written code using ranuni and several variables, creating the >words by concatenating the words letter by letter. It is several >lines long and awkward. Is there an elegant solution to this? > >Thanks. > >Cecilie


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