| Using the XML Engine to Transport SAS Data Sets across Operating Environments |
Transporting a SAS data set is the process of putting the file in a format in order to move it across hosts. The process consists of the following steps:
Export an XML document on the source host. The XML document contains the data and file attributes of one or more SAS data sets in XML markup. To export an XML document, use the LIBNAME statement and specify the XML engine, then use either the DATA step or COPY procedure.
Transfer the XML document to the target host. Transferring is the process of moving a file between hosts across a network. Various third-party products are available for performing this operation.
Translate the XML document to SAS proprietary format on the target host. To translate XML markup to SAS proprietary format, use the LIBNAME statement, specify the XML engine, then use either the DATA step or COPY procedure.
For more information about moving SAS files, see Moving and Accessing SAS Files.
Note: The XML engine supports features starting with
SAS 7, such as long data set and variable names. For moving SAS data sets
across operating environments, the XML engine does not replace the XPORT transport
engine; however, the XPORT engine does not support these features. ![[cautionend]](../common.hlp/images/cautend.gif)
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.