This directory contains a simple "Hello, World!" SAS code.
Select the version of SAS: scc1% module avail sas sas/9.3 sas/9.4 scc1% module load sas/9.4
Start a SAS interactive session: scc1% sas &
In SAS: Program Editor window open helloWorld.sas program: File -: Open. To execute the program, select Run command in the menu. The output will be written into Sas: Log window.
Interactive command line execution:
Start a SAS command line interactive session: scc1% sas -nodms
Type in the following commands at the SAS prompt: > put "Hello, World!";
> proc product_status; run;
To exit SAS, type in the following command (notice the dot at the end of the command!): > endsas;.
At the SCC prompt execute: scc1% sas helloWorld.sas
The output will be written into helloWorld.log file.
Submit SAS job:
This directory contains a simple SASjob script that, when submitted to the batch system, will execute the helloWorld.sas script. To submit the job, type the following command at the SCC prompt: % qsub SASjob
Users who are members of any Medical Campus projects must also include their project group name: % qsub -P scv SASjob