Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to develop a third-party SAS PROC?

Is it possible, as a third party, to develop a SAS PROC? I'm thinking of something like a matlab toolbox or an R package.

I've looked everywhere for info on how to do this, and the lack of discussion leads me to believe this is Not Done. Can anyone point to counterexamples, preferably with some insight into both the technical and business issues involved?

like image 602
Beau Cronin Avatar asked Jan 25 '11 22:01

Beau Cronin


People also ask

What is Proc Fedsql?

PROC FEDSQL enables the user to access multiple data sources all within one query, as opposed to a different query for each new data source that PROC SQL would do previously. Multiple data sources are combined in a query in PROC FEDSQL when one or more SELECT statements are used to produce a dataset.

What is SAS program and components of SAS program?

A SAS program is a sequence of steps that you submit to SAS for execution. Each step in the program performs a specific task. Only two kinds of steps make up SAS programs: DATA steps and PROC steps. A SAS program can contain a DATA step, a PROC step, or any combination of DATA steps and PROC steps.

What does Proc mean in SQL?

Proc Means being an in-database enhanced procedures SAS will try to convert the proc syntax into SQL code and send it to the database.

What is Proc procedure?

A Proc is a procedure described by PROC commands. Its first line must contain the code PQ to identify it to the system as a Proc. The remaining lines contain PROC commands. Usually, a Proc is created as an item with the Editor; however, any process which can write an item to a file can be used to create a Proc.


1 Answers

You can create custom PROCs using the SAS/TOOLKIT product if you have it licensed. I don't think it is widely used by SAS customers. I did a very trivial example with it many years ago just to see what was involved. I think most SAS customers stick with using SAS Macro, SAS/AF and more recently PROC FCMP for their custom code bundling requirements (there are also ways of calling Java object methods and Windows DLL routines too).

The primary document is SAS/TOOLKIT Software: Usage and Reference, Version 6, First Edition and it looks like it is only available for purchase as there is no PDF link like there is for most of the other SAS docs. SAS Usage Note 15647: Documentation for SAS/TOOLKIT® software explains that there is no single document available for SAS9 - you use the V6 document and the various changes and enhancements documents since V6 - the usage note lists them all for you.

You might also be interested in the following old SUGI23 paper for some background: Statistical Development Using SAS/TOOLKIT® Software

like image 190
Paul Homes Avatar answered Sep 27 '22 23:09

Paul Homes