Hello Sas-Users, Happy New Year.
I am using the option =93MPRINT=94 to retrieve the program without macro-
variable. But I want to also have the datastep (data t; x =3D 1; run;)
in my file =93Recup_Code.sas=94. How can I do that?
Moreover, each time I execute the program below, the file
=93Recup_Code.sas=94 is not reset. How can I do to have my file reseted
please.
Thanks.
Ash007.
Here the code :
data table_bidon;
input x1 x2 x3 x4 x5 $; cards;
2 5 5 1161 ab=E9lien
35 6 3 1336 alm=E9ric
82 1 5 1499 aniel
;
run;
options mprint mfile;
filename mprint 'C:\Users\Ash_Rmy\Documents\traitement.sas';
%macro know(lib,tab);
proc sql noprint;
create table caract as
select label , name
from dictionary.columns
where libname =3D "&lib." and memname =3D "&tab.";
quit;
title "la table &tab. de la librairie &lib. ";
proc print data =3D caract; run;
%mend;
%know(work,table_bidon);
data t;
x =3D 1;
run;
options nomfile;
|
|
0
|
|
|
|
Reply
|
ramsamyashley (267)
|
1/6/2010 9:21:42 AM |
|