Use Alternate Random Number Generator (-rand) to specify whether to use the original random number generator or the alternate one.

Operating system and syntax UNIX / Windows -rand n
Use with Maximum value Minimum value Single-user default Multi-user default
Client Session 2 1 1 1
n
The type of random number generator. A value of 1 (the default) indicates that OpenEdge should use the original generator; specify a value of 2 to use the alternate.

The original number generator always generates the same random sequence; that is, the numbers that it generates are random, but each time a session starts, it gives you the same set of numbers from the last session. If you have to generate a different sequence of random numbers, specify the alternate generator. This generator returns a number from a pseudorandom sequence of numbers rather than a truly random sequence.