GDDM V3R2 Diagnosis
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF | BOOK


Tracing under VM

GDDM V3R2 Diagnosis
SC33-0870-01



The most flexible way to start tracing is with an external default file. To use this method:

  1. Place your trace statements in your defaults file, PROFILE ADMDEFS, and ensure that the file is on your A-disk.
    
    
  2. Specify a destination for the trace output.
    
    
    The trace records are normally written to a sequential file with the file-identifier ADM00001 ADMTRACE A1. If you want to change the file-name or file-type used, you can do so by specifying the CMSTRCE external default in the source format defaults file. If the CMSTRCE value is set to blank, the trace records are written to the virtual printer, using spool file processing. To direct trace output to the virtual printer, you should include the following default specification in the external defaults file:
    
    
    
             [label] ADMMDFT CMSTRCE=(,)
    

    If you do not have enough space on your A-disk, you should first spool the printer HOLD using the CP SPOOL command, and then spool your trace output to a virtual printer.
    
    
  3. Run the application program or utility that you want to trace.
    
    
  4. When tracing is complete, spool the virtual printer NOHOLD if you now want to print the trace output.
    
    

Remember to disable tracing when you have finished. You can do this by erasing the TRCESTR statements from your defaults file, or by commenting them out. To comment them out, place an asterisk (*) in column 1 of each TRCESTR external default statement.

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012