****************************. * To shorten variable names. ****************************. GET FILE='c:\program files\spss\employee data.sav'. RENAME VARIABLES (salary salbegin =salarydata1 salarydata2). oms select log /destination format=oxml outfile='c:\temp\namelist.xml'. save outfile='c:\temp\fred.sav' /names. omsend. * Run the script "RenameLongToShort.sbs". ****************************. * To preserve long variable names when portable file format is used. ****************************. GET FILE='c:\program files\spss\employee data.sav'. RENAME VARIABLES (salary salbegin =salarydata1 salarydata2). oms select log /destination format=oxml outfile='c:\temp\exportnamelist.xml'. export outfile='c:\temp\fred.por' . omsend. * send fred.por and exportnamelist.xml files to your contact. * Contact would import file using. import file='c:\temp\fred.por' . * then run the script "RenamePortShortToLong.sbs" to * reinstate long file names.