00:00To import a SASTransport file .xbt into SAS as a permanent or temporary dataset,
00:05use the libname statement with the export engine combined with PROC COPY.
00:08Step-by-step instructions.
00:10Define a library for your permanent destination.
00:13Skip this if you only need a temporary dataset in the WORK library.
00:17Pass on a libname to the .xbt file using the export engine so SAS can read the transport structure.
00:23Copy the contents from the transport library into your target library,
00:27WORK, or your permanent folder using PROC COPY.
00:30Clear the library references once the import finishes to free up system resources.
00:34Example, SAS, code libname mydata, C, users, your name documents, SAS data,
00:41libname xbtn export C, users, your name documents, class.xbt, PROC COPY in libxbtn, outlib of mydata,
00:49libname mydata clear, use code with caution.
00:52Alternatively, if the .xbt file contains a single dataset and you prefer a quick data step into
00:56the temporary WORK library, libname xptn export C, users, your name documents class.xbt,
01:04data work, .class imported, use code with caution.
01:07For official documentation on engine options and troubleshooting format conversions,
01:12see the SAS documentation portal.
01:13Open XPT files using SAS software via the export library engine.
01:17In SAS code, use libname mylivexportfile.xbts to access the data.
01:23SAS communities.
01:25Weiss, skip the previous PROC.
01:27And that's the full picture.
01:28If this saved you a search, hit like and subscribe.
01:31One clear answer every day.
01:32See you in the next one.