I am new to SAS and read SAS if statement in do loop and I am still confused on how to solve the loop problem. I also have no idea to use Macro here.
The code is given belòow:
if DIA_PRINCd=001 or DIA_UNOd=001 or DIA_DUEd=001 or DIA_TREd=001 or DIA_QUATTROd=001 or DIA_CINQUEd=001 or
DIA_PRINCd=002 or DIA_UNOd=002 or DIA_DUEd=002 or DIA_TREd=002 or DIA_QUATTROd=002 or DIA_CINQUEd=002 or
--------------------
---------------------
DIA_PRINCd=142 or DIA_UNOd=142 or DIA_DUEd=142 or DIA_TREd=142 or DIA_QUATTROd=142 or DIA_CINQUEd=142 ;
run;
May I know how to use loop in SAS for this problem?
Aucun commentaire:
Enregistrer un commentaire