You can use the Event Table to define a print or display event that is to take place at a specified location in the program.
Click on Print or Display in the Common Events buttons to create an event that will print or display data.
If you click on Print, the Location and Action fields are highlighted. Put a program location in the Location field. Complete the print event in the Actions field, specifying the variable or expression, and the window in which it is to be printed. For example,
print d2 on dedicated
If you click on Display, the Location field displays stopped, and the Actions field displays print on dedicated. Complete the description of the print event, as described above. The variable or expression you specify is then displayed whenever the program stops execution.