Setting Environment Variables for Event Sets
Before you run your program, you need some system-level environment variables to control the trace event sets (as explained in Using Set Declaration Macros). Use variable names identical to the functionTags, classNames, and packageNames in your set declaration macros. You do not have to define a variable for every set you declared. If you don’t need to control every function separately, you can define variables for just the classNames. You can define variables for a few interesting functions and throw away the output from everything else. In fact, you can generate trace output from an entire program by setting just the rw_user environment variable to ON (assuming that you have not used package declaration macros).
See your operating system documentation for instructions on setting environment variables on your system.
NOTE: To display the value of your environment variables on DOS, use “set myVariable” instead of the echo command. If the variable is turned off, “echo %myVariable%” turns echo itself off.