Generating messages with the TEXT statement
In WSim, you define messages for simulated resources by coding data on the TEXT statement. As discussed in Basic concepts, WSim reads the message during message generation and places it in the terminal buffer. When WSim encounters a message generation statement that serves as a delimiter, it sends the message to the system under test.
This chapter describes using the TEXT statement to generate messages
in the following ways:
- Manually
- Dynamically with data field options
- Generating random numbers
- Using data from user table entries
- Using data with sequence and index counters
- Using data from save and user areas.
Note: If a TEXT statement is specified in a message deck that is part of a transaction program (TP)
it is ignored. Transaction program messages are
generated using CPI-C verb statements.