Of course you can!
QUOTE ------------------------------
Command Files
You can enter Stat/Transfer commands in a command file, as well as
interactively at the Stat/Transfer prompt or the DOS prompt.
When you enter commands at the prompt, the command is executed
immediately. When you store commands in a file, the commands are
executed when you execute the file.
You can execute command files from the Stat/Transfer prompt or from
the DOS prompt.
When you wish to run batch jobs, you must use command files.
Constructing Command Files
You can create Stat/Transfer command files as ASCII documents. Type
commands in the document just as you would type them at the
Stat/Transfer prompt.
END QUOTE -------------------------------
Etc. See help.
Best regards, Sergiy
On 9/14/07, Steichen, Thomas J. <[email protected]> wrote:
> Package stcmd will do this for you.
>
> If you are rumming Stata10, you may need to edit the code to point at the right version.
>
> -----------------------------------
> Thomas J. Steichen
> [email protected]
> -----------------------------------
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Eric G. Wruck
> Sent: Friday, September 14, 2007 10:53 AM
> To: [email protected]
> Subject: Re: st: Appending several excel data sets into one
>
> Does anyone know if StatTransfer can be used from within Stata, like in a .do file? I always do a StatTransfer operation prior to
> executing a .do file. It would be nice to incorporate that within the ..do file itself. I searched on stattransfer but didn't find
> anything obvious.
>
> Thanks,
>
> Eric
>
>
> >...
> >A couple of additions to this list:
> >
> >Option IV: Use Stat/transfer, which can be run from within Stata either within a loop or using it's batch facilities (I think).
> >
> >M. Blasnik
> >
>
> --
>
> ===================================================
>
> Eric G. Wruck
> Econalytics
> 2535 Sherwood Road
> Columbus, OH 43209
>
> ph: 614.231.5034
> cell: 614.330.8846
> eFax: 614.573.6639
> eMail: [email protected]
> website: http://www.econalytics.com
>
> ====================================================
> *
> * 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/
>
> -----------------------------------------
> CONFIDENTIALITY NOTE: This e-mail message, including any
> attachment(s), contains information that may be confidential,
> protected by the attorney-client or other legal privileges, and/or
> proprietary non-public information. If you are not an intended
> recipient of this message or an authorized assistant to an intended
> recipient, please notify the sender by replying to this message and
> then delete it from your system. Use, dissemination, distribution,
> or reproduction of this message and/or any of its attachments (if
> any) by unintended recipients is not authorized and may be
> unlawful.
>
> *
> * 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/
>
*
* 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/