Running Traces for Bus-Tech Devices in an IBM VM/ESA System

To trace all the I/O activity for a device in a VM/ESA, perform the following commands in a privileged virtual machine such as OPERATOR or MAINT. In this example, you would be tracing device 5A0, dumping 256 bytes of data for each I/O event. For this example, we are calling this trace event "btitrace".

LINK MAINT 193 333 RR

ACCESS 333 B/A

TRSOURCE ID btitrace TYPE IO DEVICE 5A0 IODATA 256

TRSOURCE ENABLE ID btitrace

VM is now tracing device 5A0, so you should recreate the situation or problem with device 5A0. Once that is done, then type:

TRSAVE ID btitrace

CP QUERY TRFILES (you should see a trace file, e.g. number 2349)

TRSOURCE DROP ID btitrace

TRACERED 2349 CMS btitrace output a ( ALL

You have now stopped the tracing of device 5A0, and you use TRACERED, a CMS program from IBM, to read the trace data file named BTITRACE OUTPUT A1. Bus-Tech Support Engineers may ask you to upload this file to our FTP site, or print the trace and FAX it to us.