![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
Returns a random integer greater than or equal to 1 and less than or equal to the specified limit. (F)number = RANDOM(rangelimit)
An integer specifying the largest allowable random number. The rangelimit can be positive or negative if its absolute value is less than or equal to (2**31)-1. Its syntax is B (binary) with length 4.
• The random integer returned is always positive (that is, the absolute value of the random number is returned).
• If RANDOMSEED is not called, an initial seed is randomly selected.
• If 0 is the rangelimit for RANDOM, it substitutes 1.
Raised if the absolute value of rangelimit is greater than (2**31)-1
If you view the table through the Table Browser after executing this rule, you see a random number in the SALARY field. A sample of the table is shown as follows:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |