SAS Stored Process and SAS Visual Analytics
Posted on Jul 13, 2013 in Software
Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.
** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **
SAS Stored Process
-
%stpbegin and %stpend initialize the output delivery system (ODS). They are not needed if you don't have to use ODS.
-
*ProcessBody; (don't forget the semicolon, this an example of using comment as markup)
-
It seems that SAS 9.2 is messy on this, so be aware of the version of SAS that you are using.
-
It it recommended that you begin all stored process (regardless of the server types) with %global declarations for all of you input parameters followed by the ProcessBody; comment. In SAS 9.3, the ProcessBody; is not needed
-
Special characters: ampersand (&), apostrophe('), percent sign (%), quotation marks ("), and semicolon (;). Be care about accepting these characeters from user client.
-
accepting multiple values is messy and can result in errors if input values is the same as one of the generated variables ....
-
use masked single line for password entry
-
It's suggested that you always require non-blank input for a textbox. Otherwise, the stored process might run without prompt on SVA.
-
it's recommended to store source code in metadata (available in sas 9.3)
-
the header function (stpsrv_header) must be placed before any code that writes results to _webout.)
-
The stpsrv_header is data step function used to add or modify a header
SAS Visual Analytics
-
To insert the Stored Process, navigate to "Insert->Other->Stored Process".
-
use the original address fix the problem of SAS Visual Analytics
-
SVA is for large data, but since we work on servers, we have to upload data. How much time do we need to upload, e.g., 10G data in an average corparate network?