Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SAS code module in VFP
Message
From
07/09/2006 13:40:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SAS code module in VFP
Miscellaneous
Thread ID:
01151994
Message ID:
01151994
Views:
75
Hi all,

I have the codes in SAS below in the module or function called Macro_test.sas

'-----------------------------------------------------------
'Parameter: Basetest=test , Scoring=test10 , month=9

%macro Macro_test(Basetest= ,Scoring= , MONTH= );

libname mydata &Basetest;
libname mydata2 &Scoring;

proc sql;

create table New&MONTH as
select distinct scoringNo
from mydata2.scoringall_&MONTH;
quit;

run;
'----------------------------------------------------

Can somebody helps to translate above SAS codes in VFP code to get a similar result ?

TIA
Reply
Map
View

Click here to load this message in the networking platform