![preparation you would do before writing sas code. preparation you would do before writing sas code.](https://s3.manualzz.com/store/data/019864890_1-af0ddf282c121eac459cf9619c86e86e.png)
There is no %mend statement at the end, so SAS thinks your still sending it macro code to be compiled. Started to define a macro but never finished. Your code: %macro quali(table,var,cible,mod) I didn't understand why I get black execute even my code has no error when I see the log page ? Sas show me black execute from running this code: /*II.Preparation des donnees*/ Title "Taux de contrats à risque de la variable &var" Proc gchart data=pct (where=(&cible=&mod)) Table &var.*&cible / chisq outpct out=pct *Variables qualitatives : test de Khi-2 & v de Cramer*/ *Etude des liaisons entre variables qualitatives et variable cible */ *Traitement des valeurs manquantes/aberrantes*/ Proc means data=Examen min max mean median nmiss
![preparation you would do before writing sas code. preparation you would do before writing sas code.](https://sascrunch.com/wp-content/uploads/2020/10/i1082_orig-1024x608.png)
*Exploration des variables candidates de la base*/ %let var_quanti=anc_client anc_cont cotisation id nb_cont *Definition des variables explicatives */ *Definition de la variable à expliquer * *Nous avons 53892 observations et 8 variables dans notre base*/ *Corespondance entre les formats et les variables */ *Extrcation de la base d'etude et creation d'une copie*/ Libname projet 'C:\Users\MJ-INFO\Desktop\Projet scoring1' Is there a way around this without having to turn off and on sas. The log just writes the code you tried to execute in black but it's like SAS is disabled and you have to turn off SAS and turn it back on before it runs properly again. Does anyone else have this problem? Basically, sometimes when I write a macro and run the code, nothing happens.