Hi,
I am trying to delete the value stored inside a macro variable that I have created inside the following macro . the reason why want to delete the value stored inside adjust_session is because when I=1 , adjust_session get the value of 2, but when I=2 'adjust_session' stay with the same value as when I=1.
%macro ADJUST(NOBSI);
%local i;
%do I=1 %TO &NOBSI;
  data _null_; /*rechange to data _NULL_*/
  set list1 ; 
  if id=&i then do;
  put new_session=;
  call symput('adjust_session',new_session); 
  end;
  stop; 
run;
.......ETC
%symdel adjust_session y product; 
%end; 
%mend; 
%adjust(&nobsi)
LOG
MLOGIC(ADJUST):  %SYMDEL  ADJUST_SESSION 
WARNING: Attempt to delete macro variable ADJUST_SESSION failed. Variable not found.