Thank you very much. I would like to use SAS EG to write Macro codes and if you have more things please send me. appreciate it