Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Using Global Variables to Specify directories in dictionaries


From   Ronnie Babigumira <rb.glists@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Using Global Variables to Specify directories in dictionaries
Date   Mon, 17 Sep 2012 19:46:26 +0200

You are asked to post on Statalist using your full real name. This is a long-standing practice on Statalist. Giving full names is one of the ways in which we show respect for others. Your chances of eliciting a good reply are greatly diminished if you write and conceal your identity. Conversely, if you decide just to watch and read on the list, your email identity remains entirely up to you 

Ronnie
-- 
010100100110111101101110011011100110100101100101




On Monday, September 17, 2012 at 7:37 PM, Stata List wrote:

> I am trying to loop an infiling protocol through several datasets with
> different names. I am using the following:
> 
> global dictionarypath="$root_path\$dataset_to_use.abc"
> infile using "$root_path\Dictionary.dct", clear
> 
> The dictionary starts like this:
> 
> dictionary using "$dictionarypath" {
> 
> I get the following error:
> 
> file $dictionarypath.raw not found
> dictionary invalid
> 
> I've played with including and not including the file extension, and
> the directory seems correct. Any help would be appreciated.
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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