ERROR encountered during network simulation

After you start the network simulation, your TSO session begins to display WSim "write-to-operator" messages, which appear in the STL programs as SAY statements. Each STL program with 3270 resources that run to completion issues a message to the console similar to the following message:
ITP137I <network> <terminal>-00001 - <program> Finished 
After the message is issued, that terminal shuts down automatically. If problems occur, a number of strategies are available for debugging your WSim testcases, depending on what you find to be most suitable:
  • Problems after the WSim simulation:
    • Run TLOG (select 0 from the schedules list, then select 1) specifying the resources (LU names) that had problems. The loglist can provide you detailed information about which STL statement was being processed at a given time during the execution, what data and display screens were exchanged, and so on.
    • Run TDM (select 0 from the schedules list, then select 3) to replay the display screen sequence encountered during your simulation.
  • Problems during the WSim simulation:
    • Place more SAY statements in your testcase so that you can see immediately how far your testcase progresses.
    • For 3270 resources, use the Display Monitor Facility from another TSO session to watch the screens for one simulated WSim terminal while the test is going on.

Generally, it is wise to get a testcase or testgroup working with a single terminal before attempting a simulation with multiple terminals. It is also good to review a single terminal run using the Display Monitor Facility against the WSim log (using TDM) even if the WSim run appears to be successful. The Finished message is not a guarantee that the script worked as you intended.

Problems during a WSim/TM simulation run usually fall into one of the following categories:

These problems are described in the following sections.