Date: Mon, 28 May 2007 22:47:57 -0400
Reply-To: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Richard A. DeVenezia" <rdevenezia@WILDBLUE.NET>
Organization: Internet News Service
Subject: Re: Proc FCMP and recursion
Paul Dorfman wrote:
> Tony,
>
> Whoa, wait a minute!
>
> First, PROC FCMP is available in 9.1.3 (at least with SP4) - only the
> subroutines and functions compiled by it cannot be used in the DATA
> step (for THAT, one has to wait until 9.2, and I, for one, am looking
> forward to it, and fancy the possibilities it promises). To ascertain
> this simple fact, just run the example cited by the poster, or even a
> slightly modified one like this:
>
....
> And you will see that it runs perfectly well and prints what the PUTs
> tell it to print in the output (I had expected to find it in the
> log). Moreover, go to SASUSER, and you will find the catalog FUNCS
> with entires neatly stored as follows:
>
> Name Type Description
> f(*)Subr0 cmpsub fact
> f(*)Math fundcl
>
> And you can click on each of them and - surprise? - find their
> definitions inside. Looks like good folks at Base R&D look forward
> somewhat ahead of the time.
>
> Secondly, one does not have to break the law in order to run 9.2. I
> have for a year now and been receiving incremental upgrades. Just
> enter MDPA (Master Developer Partner Agreement), do the (scant)
> paperwork, and nine-two away. Incidentally, the contact for MDPA,
> Yvette Robers, operates from Austin, just email her at
> yvette.roberts@sas.com and express interest.
>
> Finally, I have to thank the original (albeit anonymous) poster,
> since although I cannot answer his/her question yet, it spurred my
> interest. And I have a question myself about the source of PROC COMP
> documentation you are relying upon. The pointer will be appreciated!
At SGF there was a talk about FCMPs in DATA Step in 9.2. FCMP functions
will be stored in SAS datasets instead of in catalogs as now. I suppose you
could store your compiled SAS fcmps in any database you have SAS/Access, or
perhaps in some XML store access through XML libname.
--
Richard A. DeVenezia
http://www.devenezia.com/
|