In reply to Suryakiran Pothuraju.

Suryakiran,

You can retain colorization in macros with a simple trick:
%LET Null = ;
&Null %Macro Amazing_Macro;
...code goes here...
&Null %Mend Amazing_Macro;

Best regards,

Jim