Thanks for all your help. Back to my first post, I think I find a way to add dataset label, variable label and formats via XML mapper. step 1: use the following statements to create a xml file: libname testfile xmlv2 'c:\temp\testing.xml'; proc copy in=work out=testfile; select local central; run; step2: open the above xml(testing.xml) in XML mapper, manually create a map file (testing.map) via drag and drop method and modify label, change data type, formats etc in the property tabs. Send both xml and map files to recipient. He or she can use the following statements to restore 'local' and 'central' datasets: filename mapfile 'c:\temp\testing.map'; filename testfile 'c:\temp\testing.xml'; libname testfile xmlv2 xmlmap=mapfile ; proc copy in=testfile out=work; run; If we have many datasets or many variables need to be transfered, we can use PROC CONTENTS to get meta data, and use DATA step to create a xml mapping file since the structure of map file is very simple. I will give a try when I have a chance. Thanks again! Helen
... View more