Using user tables
WSim enables you to set up user tables so that you can use predefined data either in a random or a defined sequence as a part of your messages. A user table is a list of string constant entries in a table. The table is a one-dimensional array.
You can use entries in user tables as data for your messages or as data against which incoming information can be compared. For example, you could include a list of order quantities in one table and a list of colors in another. You could combine information from these tables to define various orders in your messages. Or, you might want use a table to provide logons and passwords for your simulated terminals and its operators.
WSim provides statements enabling you to define user tables. In addition, STL functions provide the ability to select table entries and to compare entries with a given source string. The following sections discuss these capabilities.