Date: Tue, 2 Dec 2003 18:13:41 +0100
Reply-To: "Karlsen, Terje" <terje.karlsen@SSB.NO>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Karlsen, Terje" <terje.karlsen@SSB.NO>
Subject: SV: Compiling SCL from unix
Content-Type: text/plain; charset="iso-8859-1"
> -----Opprinnelig melding-----
> Fra: Randy Herbison [mailto:RandyHerbison@westat.com]
> Sendt: 2. desember 2003 18:06
> Til: Karlsen, Terje; SAS-L@LISTSERV.UGA.EDU
> Emne: RE: Compiling SCL from unix
>
> Terje,
>
> You can run PROC BUILD in batch mode to compile SCL entries.
>
> This was tested under Win XP Pro, but should work the same under UNIX.
>
> * SAS program test.sas;
> libname temp 'c:\temp';
> proc build catalog=temp.myCatalog batch;
> compile select=mySCL.scl;
> quit;
>
> SAS command issued at UNIX prompt: sas -sysin "c:\temp\test.sas"
>
> RandyHerbison@westat.com
Randy, thanks for help. This looks good. This makes me able to
compile in batch mode from the Unix prompt. This works under Unix as well.
But do I have to include the scl file manually via the
SAS SCL editor? Is there any way to assign an external scl file as
input to the PROC BUILD compiling ?
Say I have a scl program stored as
/my/unix/catalog/tree/mySCL.scl
and I am editing this file in any SAS-external edtior, say Emacs.
Could I tell PROC BUILD this in any way?
Terje Karlsen, Statistical Adviser
Division for National Accounts, Statistics Norway
Tlf: +47 21 09 44 56
mailto:terje.karlsen@ssb.no
|