![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
CALL RANDOMSEED(seed)
An integer specifying the seed value. It can take on positive or negative values if the absolute value is less than or equal to (2**31)-1. Its syntax is B (binary) with length 4.seed can be 0.
Raised if the absolute value of seed is greater than (2**31)-1.The following rule sets the seed for the random number generator and generates test data for the TEST_EMP_DATA table:
If you execute this rule and give it a number as an argument, you see random numbers in the SALARY field when you browse the table with the Table Browser. You see the same random salaries if you execute the rule again with the same number as an argument. A sample of the table is shown as follows:
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |