Re: Random number generator



although the Intrinsic Function "RANDOM" is available with all currently
supported COBOL's on MVS (z/OS), there is also an LE callable service for it
too. As I recall, the two do NOT generate the same series of numbers - so you
can use either one (or a combination of the two <G>).

--
Bill Klein
wmklein <at> ix.netcom.com
"SkippyPB" <swiegand@xxxxxxxxxxxxxxxxx> wrote in message
news:h5uoe2lvhs37dbqau44pgh7kusuiaku09q@xxxxxxxxxx
On 23 Aug 2006 07:59:21 -0700, "djeanne" <djeanne75@xxxxxxxxx>
enlightened us:

Hi all,

I am looking for a way to generate random numbers with good quality.
The system the generator should be working on is an MVS system.

Does anyone have a clue of how to do it ?

Thanks in advance,

Djeanne.

In your Cobol manual look up Function Random (x).

Regards,
////
(o o)
-oOO--(_)--OOo-


"I can levitate birds. No one cares."
--Steven Wright
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove nospam to email me.

Steve


.



Relevant Pages