How to: |
The RDNORM and RDUNIF functions generate random numbers.
{RDNORM|RDUNIF}(output_format)
where:
Generates double-precision random numbers normally distributed with an arithmetic mean of 0 and a standard deviation of 1.
Generates double-precision random numbers uniformly distributed between 0 and 1.
Double-precision
Is the name of the field that contains the result, or the format of the output value enclosed in single quotation marks.
RDNORM assigns random numbers and stores them in a column with the format D12.2.
RDNORM('D12.2')
iWay Software |