Using the Script Generator Utility
The Script Generator Utility (ITPSGEN) enables you to generate WSim message generation decks for the terminals in the network definition. Decks are generated using network definitions and captured data traffic from live runs of the system under test. You can specify either existing or new network definitions as input.
You must put the data captured for the Script Generator Utility in a specified format and sort it by resource name, date, and time. A program provided as part of the Script Generator Utility (ITPVTBRF) accepts other formats of captured data and reformats the data for input to ITPSGEN, the utility program that actually generates the message generation decks.
You must follow five steps to generate message generation decks
using this script generator:
- Obtain a trace of system activity.
- Reformat the trace output if it is not in the format required for the script generator utility.
- Sort the reformatted output using any standard sort program.
- Define the network.
- Generate the message generation decks.
Figure 1. Generating scripts
with the Script Generator Utility
1. Obtain a trace of system activity.
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ │ │ VTAM │ │ Your own │
│ NPM │ │ Buffer │ │ capture │
│ │ │ Trace │ │ routine │
└──────┬───────┘ └──────┬───────┘ └──────┬───────┘
│ │ │
│ │ │
└─────────┬──────────┘ │
│ │
2. Reformat │ │
↓ │
┌─────────────┐ │
│ ITPVTBRF │ │
│ │ │
└──────┬──────┘ │
│←─────────────────────────────┘
3. Sort │
↓
┌─────────────┐
│ │
│ SORT │
│ │
└────┬────────┘
│
4. Define │
Network │
│ ┌─────────────┐
│ │ NTWRK │
│ ┌───────────────┤ Statements │
│ │ │ │
│ │ └─────────────┘
5. Generate │ │
Message │ │
Decks │ │
↓ ↓
┌──────────────┐
│ │
│ ITPSGEN │
│ │
└──────────────┘