Structured Translator Language program tracing

WSim provides an STL trace facility with which you can trace the execution of an STL program. STL is a structured language that you can use to create message traffic for devices simulated by WSim. STL statements are translated into message generation statements by the STL Translator. These statements form message generation decks that WSim uses to generate messages.

To specify the logging of STL trace records, code STLTRACE=YES on the NTWRK, VTAMAPPL, APPCLU, TCPIP, DEV, LU, or TP statement. The following example is an example of a LU statement with STL tracing specified:
LU0001  LU  STLTRACE=YES,...
You can also activate STL trace using the A (Alter) operator command. See WSim User's Guide for a description of this operator command.

Use the Loglist Utility to process the STL trace records. The Loglist Utility produces output that correlates the STL statements with the message generation statements produced by the STL Translator. The output also provides trace data indicating what occurs when the statements are processed.

To enable the Loglist Utility to process the STL trace records, you must include certain coding in your STL program or use a specific execution parameter when running the STL Translator. Refer to WSim Script Guide and Reference for more information about STL programs and using the Loglist Utility to process trace records.