SPSS Macro" some examples

http://www-01.ibm.com/support/knowledgecenter/SSLVMB_21.0.0/com.ibm.spss.statistics.help/syn_define_assigning_tokens_to_arguments.htm

http://www.ats.ucla.edu/stat/spss/code/macro_prgramming.htm