Previous Topic: Unique Code Generator Data SetNext Topic: Message-Correlation ID Generator Data Set


Random Code Generator Data Set

The Random Code Generator data set generates numeric or alphanumeric data randomly for use in a test case. This data set is similar to the Unique Code Generator Data Set data set, but it lets you set a length for the result. This data set can be used to create a specific type of unique value such as a telephone number, or Social Security number.

Complete the following fields:

Name

Enter the name of the data set.

Local

Designates whether the data set is global or local. Global is the default. Local data sets are created with one for each simulator. Global data sets are created once and shared by all simulators.

Random

Whether the record after the current record (sequential access) is read, or a random record is read. Sequential reading is the default.

Max Records to Fetch

The upper bound on the number of records to fetch for random access. This text field is disabled if the Random check box is not selected.

At End Of Data

Select the action for the end of the data set. You can start over, reading values from the start of the data set, or you can select the step to execute.

Prefix (opt)

Adds a prefix to the generated data. This field is optional.

Type

This field allows either alphanumeric or number type of data set to be generated.

Length

This field restricts the length of the random data that is generated to the value set here.

Click Test and Keep to test and load the data. You get a message that confirms that the data set can be read, and shows the first set of data.