Tuesday, 15 May 2012

Stata command line arguments in batch mode -


A indicates that the argument can be passed in the do files to my The file looks like this:

  * program.do: Program 'arguments' to bring information from main dataset 'Insume' using inset results, explicit name with commas A bunch of case / processing, to save `outname ', change   

, in accordance with the frequently asked questions, this script will be sent to do filename Defense can be operated using the .csv result.dta . When I run this command from within the state, then everything works fine. The program is long, however, so I want to run it in batch mode. State is about batch mode.

In combination with information from these webpages, I type the following at my UNIX prompt:

  $ nohup stata -b do program.do file name. Results of CSV. Dta & amp;   

Status begins, but it ends with the following error:

 . 'Outname', saveok // Result file to invalid file specification R (1988);   

A small experiment tells me that when I run the program in Batch mode, Stata is never receiving two arguments. What is the solution to this problem? (I.e. how do you argue the files when moving in batch mode?)

Threads below are useful :

If my program is Test.do :

  args ab display I just type it by typing Windows can run in batch mode:  

"c: \ Stata13" "display" `b '"

\ Stata.exe "/ e Do "c: \ script \ test.do" test script

and it will display (inside the tab):

test < / P>

Scree T

So I wonder whether nohup which is preventing you from working your program

No comments:

Post a Comment