12.07.2015 Views

List Processing Basics: Creating and Using Lists of Macro ... - NESUG

List Processing Basics: Creating and Using Lists of Macro ... - NESUG

List Processing Basics: Creating and Using Lists of Macro ... - NESUG

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>NESUG</strong> 2007H<strong>and</strong>s-On WorkshopsAPPENDIXPROJECT FILES FOR BATCH PROCESSINGThese files are usedin the project folderin order to run each<strong>of</strong> the programs <strong>and</strong>produce .log <strong>and</strong> .lstfiles for inclusion inthis paper.sas.bat1 rem name: SAS.bat for either V8 or V92 if not exist "C:\Program Files\SAS\SAS 9.1\SAS.exe" goto v83 "C:\Program Files\SAS\SAS 9.1\SAS.exe" %*4 goto EOF5 :v86 "C:\Program Files\SAS Institute\SAS\V8\SAS.exe" %*7 :EOF1 /*name: SASv8.cfg2 06Jun08 RJF2 ........ */sasv8.cfg3 -config ’C:\Program Files\SAS Institute\SAS\V8\SASv8.cfg’4 -SET ProjRoot ’C:\LaTeX\HOW-list-proc’5 -SASinitialFolder ’!ProjRoot\sas’67 -noovp /* no overprint errors nor warnings */8 -nosplash /* no display SAS banner at startup */sasv8.cfg: line 4NOTE: if you use either <strong>of</strong> these configuration files you must change the value <strong>of</strong> ProjRoot:sasv9.cfg: line 4to the name <strong>of</strong> the parent folder <strong>of</strong> your sas programs. If sas is not the name <strong>of</strong> your program folder then changethe value <strong>of</strong> SASinitialFolder as well. Here is an example for programs in C:/temp/programs:-set ProjRoot ’C:\temp’-sasinitialfolder ’!ProjRoot\programs’1 /*name: SASv9.cfg2 06Jun08 RJF2sasv9.cfg3 ******* ............................... */4 -SET ProjRoot ’C:\LaTeX\HOW-list-proc’5 -SASinitialFolder ’!ProjRoot\sas’67 -noovp /* no overprint errors nor warnings */8 -nosplash /* no display SAS banner at startup */autoexec.sas1 filename Project ’.’; %* here: same folder ;2 options nocenter %* flush left output ;3 nodate %* no date-stamp ;4 nonumber %* no page numbers ;5 details %* Proc Contents ;6 formchar = %* no special chars ;7 ’-------------------’8 formdlim = ’ ’ %* no CR/LF for page break;9 fullstimer %* exp<strong>and</strong> time block ;10 linesize = 72 %* for LaTeX printing ;11 pagesize = max; %* no page breaks in *.lst;12 Title ’SGF: Fehd+Carpenter: HOW on list processing’;1314 %* Arts path; %Let Path15 =C:\Primary\Presentations\papers\Papers70-79\72-Managing<strong>List</strong>s\Workshop\;1617 %* Rons path; %Let Path = ;%*here;15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!