Index of /examples/stata/basic

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT]NE_HealthData.csv 2021-01-06 13:49 11K 
[TXT]Statajob 2019-08-26 09:21 910  
[   ]basic.do 2021-01-06 14:21 102  
[TXT]basic.qsub 2021-01-06 14:25 418  
[   ]helloWorld.do 2014-02-28 13:24 51  
[TXT]stata-mp.qsub 2019-08-26 09:21 508  

RCS sample Stata code

This directory contains a simple "Hello, World!" Stata script.

Interactive execution:

Start an Interactive Stata sessions by typing xstata at the SCC prompt:
scc1% module load stata/16
scc1% xstata
In the File menu, select Do and chose helloWorld.do file.

Batch execution:

At the SCC prompt execute:
scc1% stata -b do helloWorld.do
The output will be written to the log file helloWorld.log

Submit Stata job:

This directory contains a simple Statajob script that, when submitted to the batch system, will execute the helloWorld.do script. To submit the job, type the following command at the SCC prompt:
scc1% qsub Statajob

Users who are members of any Medical Campus projects must also include their project group name:
scc1% qsub -P scv Statajob

Helpful Links:

Stata Basics
Running Jobs on the SCC