When I process this instruction " if d way="transac_way4"; " SAS refuse to execute the code and can't affect the value in " way " field . There is this message ERROR 22-322: Syntax error, expecting one of the following: !, !!, &, (, *, **, +, -, /, ;, <, <=, <>, =, >, ><, >=, AND, EQ, GE,
GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, [, ^=, {, |, ||, ~=. data quatre_fichiers;
length way $32; /* puts way in first position */
set
work.bd1_imp (in=a)
work.bd2_imp (in=b)
work.bd3_imp (in=c)
work.bd4_imp (in=c)
;
rename
"N°"n=num
Application=app
"Nature transac"n=lbnat
"Cause transac"n=lbcau
"Anomalie(s)"n=anomalie
"Date rejet "n=dtrej
Acteur=lbact
Statut=lbsta
"Analyse srv1"n=anasrv1
"Analyse srv2"n=ana
"Date correction"n=dtcorr
initiale=trigramme
;
if a way="transac_way1";
if b way="transac_way2";
if c way="transac_way3";
if d way="transac_way4";
run;
... View more