Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Problem with ado file - stcmd


From   "Josiane Georges" <jgeorges@health.nyc.gov>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Problem with ado file - stcmd
Date   Thu, 6 Dec 2007 09:01:35 -0500

I am trying to use stcmd.ado to run Stat Transfer directly in Stata, but it is not working. I've tried to use what I found in the FAQ, but it did not work. I have modified the standard stcmd.ado file to read the following:

#delim ;
prog def stcmd;
version 9.0;
/*
 Run the Stat/Transfer st command
 with parameters and switches supplied by the user.
*!Author: Roger Newson
*!Date: 04 June 2007
*/

local stpath `"$StatTransfer_path"';
if `"`stpath'"'=="" {;
  local stpath "st";
};
shell "C:\Program Files\StatTransfer9\st" `0' ;


end;
______________________

Any have and ideas on how to fix the ado file?

Josiane "Josie" Georges
Analyst, Liaison to the Division of Mental Hygiene
Policy & Planning
DOHMH
Tel: 212-788-5342
Fax: 212-788-5353




**********************************************************************
The New York City Department of Health & Mental Hygiene is now offering information important for the health of all New Yorkers.  To sign up for these new and valuable updates, log-on to our website at http://www.nyc.gov/health/email and select the NYC DOHMH updates you'd like to receive.

IMPORTANT NOTICE:  This email is meant only for the use of the intended recipient.  It may contain confidential information that is legally privileged or otherwise protected by law.  If you have received this communication in error, please notify me immediately by replying to this message and please delete it from your computer.  Thank you for your cooperation.


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index