Stata: Data Analysis and Statistical Software
Order Stata Upgrade now
Products Purchase Support Company
Search
   >> Home >> Resources & support >> FAQs >> Sending program output to Technical Support Bookmark and Share

How do I send program output to Technical Support?

Title   Sending program output to Technical Support
Author Stata Technical Support
Date February 2003

We cannot, in general, debug programs for you, but there are exceptions. Perhaps there is evidence that the problem lies with a Stata-written program.

In any case, Stata can trace the execution of programs, and, in some cases, it is a trace of the execution that we need. These traces, however, can be long. If, after initially emailing us, we request a trace, use the following procedure:

 . log using junk, replace
 . about
 . update
 . sysdir
 . adopath
 . pwd
 . describe
 . summarize
 . *
 . * so far, this is the same procedure you would use to send us any type
 . * of output
 . *
 . discard
 . set more off
 . set trace on
 . command causing problem
 . log close
 . * now we tell Stata to stop tracing programs:
 . set trace off
 . set more on

These commands will create the file junk.smcl, which you can then email to us.

FAQs
What's new?
Statistics
Data management
Graphics
Programming Stata
Mata
Resources
Internet capabilities
Stata for Windows
Stata for Unix
Stata for Mac
Technical support
Resources & support
FAQs
Technical support
NetCourses
Short courses
Users Group meetings
Statalist
Links
Software updates
Software archives
Customer service
Manuals & supplements
Stata Journal
STB
Stata News
Stata Automation
Plugins

Site overview
Products
Resources & support
Company
Site index

© Copyright 1996–2010 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index