Sort the set by the 2nd or 3rd digit :) 99,999 5 digit numbers is, after all, all of the set.
> -----Original Message----- > From: IBM Mainframe Assembler List [mailto:ASSEMBLER- > [email protected]] On Behalf Of Richard Kuebbing > Sent: Tuesday, May 16, 2017 1:28 PM > To: [email protected] > Subject: random quest > > So I need a set of 99,999 random numbers which are 5 digits and unique, i.e. > no duplicates. CEERAN0 and Cobol FUNCTION RANDOM both give sets > w/30+% duplicates. > > I have seen website random.org. > > Anyone have to ever done this thing? > > Anyone have suggestions? > > Richard Kuebbing > > Efforts and courage are not enough without purpose and direction. - John F. > Kennedy Fasten your seat belts, it's going to be a bumpy ride. - Bette Davis > (as character Margo Channing) _All About Eve_1950 Furious activity is no > substitute for understanding. - H. H. Williams Our greatest danger in life is > in > permitting the urgent things to crowd out the important. - Charles E. Hummel > Quidquid latine dictum sit, altum videtur. > > > > ----------------------------------------- The information contained in this > communication (including any attachments hereto) is confidential and is > intended solely for the personal and confidential use of the individual or > entity to whom it is addressed. The information may also constitute a legally > privileged confidential communication. If the reader of this message is not > the intended recipient or an agent responsible for delivering it to the > intended recipient, you are hereby notified that you have received this > communication in error and that any review, dissemination, copying, or > unauthorized use of this information, or the taking of any action in reliance > on the contents of this information is strictly prohibited. If you have > received > this communication in error, please notify us immediately by e-mail, and > delete the original message. Thank you
