05-28-2012 02:44 AM
Is this what you want.
proc fcmp outlib=sasuser.funcs.trial;
function percent1(var1, var2);
n = (var2/var1)*100;
Total = percent1(8684,2216);
Total1 = percent1(5466,2189);
05-28-2012 02:52 AM
Yeah some thing like similar...
But the task is need to develop in Base SAS, Macros, and out put would be Web SP...
Can i have your email id so that i wil sare the doc if you don't mind
Please help on this !?
05-28-2012 02:59 AM
Proc fcmp is part of Base SAS procedure only in SAS 9.2,But if you are using SAS 9.1.3 then FCMP is part of SAS Risk dimensions procedure.
What version of SAS are you using.
I will send you my personal email to your id.
Bur,If you can post your questions in forum there are many SAS Experts who can guide you in the right path.