Installation Notes for SASCodeRunner7 Component and SamplesRequirementsRequirements for SASCodeRunner7:
Requirements for samples:
Component Installation
Sample InstallationCopy the sample files (all .sas and .asp files) to the root directory of your web server (which might be C:\Inetpub\wwwroot) or create a virtual directory for them. There are three sample single-page Active Server Pages (ASP) applications. They should give you an idea of what is possible.
Here's the complete list of sample files that should be copied to the web server root directory or to a virtual directory:
To use the sample apps, navigate in a web browser to the .asp files on the web server (don't treat them like they are local files on c:\inetpub\wwwroot or whatever). So, for example, if you use the root web server directory, the URL for the first page would be http:\\YourServerName\SimpleDemo.asp, where YourServerName is the network name of the web server. For viewing on the server (which by the way could be a workstation running IIS/PWS), you can substitute localhost for YourServerName. Additional NotesOnce you start making production apps that others will use, I recommend registering the component to run as a specified user (not the interactive user) in MTS/COM+. And if network data (not residing on the web server's hard drive(s)) is needed, the SASCodeRunner7.dll component will need to be registered in MTS/COM+ Services and run under an account that has network access. How does this thing work? Basically SASCodeRunner7 is a "wrapper" around the process of submitting SAS code in batch mode. I used Visual Basic 6 to make the DLL. The underlying mechanism involves Windows API calls (CreateProcessA, WaitForSingleObject, CloseHandle) to run SAS in synchronous batch mode (i.e., process waits for batch job to finish before moving on). For details on the properties and methods of SASCodeRunner7, read the SASCodeRunner7.html documentation file. SASCodeRunner7 was produced in 2002 by David Rubanowice, Group Health Cooperative, Seattle, WA | |