<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS Studio - XPORT / Transport File in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466128#M5602</link>
    <description>&lt;P&gt;Thank you for the help!! It's much appreciated. I'll try it after I eat lunch - SAS Studio and an empty stomach is not great&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2018 16:57:04 GMT</pubDate>
    <dc:creator>anonymous_user</dc:creator>
    <dc:date>2018-05-30T16:57:04Z</dc:date>
    <item>
      <title>SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466117#M5599</link>
      <description>&lt;P&gt;Hi! Anybody know if SAS Studio is capable of creating XPORT / V5 or V8 Transport file? Studio allows for PROC CPORT options, but there's nothing in its documentation that indicates it has PROC XPORT capability. Please help!!! Much appreciated!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code works (I copied the sas data lib into a new lib with the xport engine assigned to it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;libname xportout xport '/home/dp14160/XPORT';&lt;BR /&gt;proc copy in=WORK out=xportout memtype=data;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code worked in SAS Studio, but when I try to export the contents of the newly created library, xportout, I have limited options (csv, xml, etc.). I screenshot those options!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a bunches! Any help's appreciated!!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xox.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20863iC7B66F16E7EB104C/image-size/large?v=v2&amp;amp;px=999" role="button" title="xox.png" alt="xox.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 16:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466117#M5599</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2018-05-30T16:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466124#M5600</link>
      <description>&lt;P&gt;You can create an XPORT file using the libname approach.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname out xport 'c:\_localdata\temp\test.xpt';

proc copy in=sashelp out=out memtype=data;
select class;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here's the documentation references:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p07no93eh1e7oun1fmp0anvi7k3k.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p07no93eh1e7oun1fmp0anvi7k3k.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's a macro here that indicates V5/V8 that you can try as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p13q0v60f08mj3n1ebm8salcpkmh.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=movefile&amp;amp;docsetTarget=p13q0v60f08mj3n1ebm8salcpkmh.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@anonymous_user&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi! Anybody know if SAS Studio is capable of creating XPORT / V5 or V8 Transport file? Studio allows for PROC CPORT options, but there's nothing in its documentation that indicates it has PROC XPORT capability. Please help!!! Much appreciated!!&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 16:54:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466124#M5600</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-30T16:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466127#M5601</link>
      <description>&lt;P&gt;Can you not just try it?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/How-To-create-XPT-files-How-to-Convert-xpt-files-to-Sas-Dataset/td-p/90427" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/How-To-create-XPT-files-How-to-Convert-xpt-files-to-Sas-Dataset/td-p/90427&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Off the top of my head I can't see any reason why not, xpt is part of Base, so you don't need any other modules.&amp;nbsp; Don't know why you would want to use the format in this day and age, unless its forced on you.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 16:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466127#M5601</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-05-30T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466128#M5602</link>
      <description>&lt;P&gt;Thank you for the help!! It's much appreciated. I'll try it after I eat lunch - SAS Studio and an empty stomach is not great&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 16:57:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466128#M5602</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2018-05-30T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466129#M5603</link>
      <description>&lt;P&gt;HAHAHA yeah it's for SEND/SDTM protocol for the biopharm industry. Trust, I do not enjoy this very very 'basic' file. I'll try your code after lunch! Thank you for your help - I appreciate it so much!&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 16:58:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466129#M5603</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2018-05-30T16:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466131#M5604</link>
      <description>&lt;P&gt;Yep, thought it might be.&amp;nbsp; Grates on me that format, plain text open file format FTW.&amp;nbsp; They have talked about dataset.xml for years, but nothing yet.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466131#M5604</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-05-30T17:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466133#M5605</link>
      <description>&lt;P&gt;DO NOT EDIT your post. Then we cannot follow the discussion appropriately.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are not trying to EXPORT the file anymore, as SAS uses that term, you want to download it. If you're using SAS Academcis on Demand there are file size restrictions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:09:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466133#M5605</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-30T17:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466134#M5606</link>
      <description>&lt;P&gt;Also, this would copy all files in the library, not just a single data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@anonymous_user&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi! Anybody know if SAS Studio is capable of creating XPORT / V5 or V8 Transport file? Studio allows for PROC CPORT options, but there's nothing in its documentation that indicates it has PROC XPORT capability. Please help!!! Much appreciated!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code works (I copied the sas data lib into a new lib with the xport engine assigned to it).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;libname xportout xport '/home/dp14160/XPORT';&lt;BR /&gt;proc copy in=WORK out=xportout memtype=data;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code worked in SAS Studio, but when I try to export the contents of the newly created library, xportout, I have limited options (csv, xml, etc.). I screenshot those options!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a bunches! Any help's appreciated!!!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xox.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/20863iC7B66F16E7EB104C/image-size/large?v=v2&amp;amp;px=999" role="button" title="xox.png" alt="xox.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:10:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466134#M5606</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-30T17:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466198#M5611</link>
      <description />
      <pubDate>Thu, 31 May 2018 00:15:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466198#M5611</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2018-05-31T00:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466224#M5613</link>
      <description>&lt;P&gt;SAS Studio is just SAS 9.4 and the documentation, I included in the previous post, seems to imply that it should fully support transport files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can verify your SAS version by running:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@anonymous_user&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes I know it copies all the files; that's why by specifying memtype, other file types are ignored.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I downloaded the xport file that I made w/ PROC COPY.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;tried* to read the new xpt file with SAS Universal Viewer;&amp;nbsp;SAS Universal Viewer couldn't read it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS Studio *probably* doesn't support xpt; I tried to import the xpt file onto SAS Studio but Studio didn't recognize any of the data inside the file. I can't find a single piece of documentation that verifies that it does support this type of engine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used a 3rd party software to convert the xpt file to a csv one, which I was then able to upload to SAS Studio.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will try the PROC COPY / DATA step code(s) on SAS University when I download the software in the future.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for all your help.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 20:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466224#M5613</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-30T20:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466235#M5614</link>
      <description />
      <pubDate>Thu, 31 May 2018 02:04:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466235#M5614</guid>
      <dc:creator>anonymous_user</dc:creator>
      <dc:date>2018-05-31T02:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Studio - XPORT / Transport File</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466254#M5616</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@anonymous_user&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I understand the implication of that documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you actually tried&amp;nbsp;the code(s) on SAS Studio?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, using SAS AoD, and it worked fine. I followed the code in the documentation about how to restore the data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No issues on my side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; 71         libname out xport '/home/XXXXX/Demo1/test.xpt';
 NOTE: Libref OUT was successfully assigned as follows: 
       Engine:        XPORT 
       Physical Name: /home/XXXXX/Demo1/test.xpt
 72         
 73         proc copy in=sashelp out=out memtype=data;
 74         select class;
 75         run;
 
 NOTE: Copying SASHELP.CLASS to OUT.CLASS (memtype=DATA).
 NOTE: There were 19 observations read from the data set SASHELP.CLASS.
 NOTE: The data set OUT.CLASS has 19 observations and 5 variables.
 NOTE: PROCEDURE COPY used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              816.65k
       OS Memory           27304.00k
       Timestamp           05/30/2018 08:58:45 PM
       Step Count                        61  Switch Count  1
       Page Faults                       0
       Page Reclaims                     105
       Page Swaps                        0
       Voluntary Context Switches        11
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           16
       
 
 76         
 77         libname out;
 NOTE: Libref OUT has been deassigned.
 78         
 79         
 80         libname in xport '/home/XXXXX/Demo1/test.xpt';
 NOTE: Libref IN was successfully assigned as follows: 
       Engine:        XPORT 
       Physical Name: /home/XXXXX/Demo1/test.xpt
 81         
 82         proc copy in=in out=work;
 83         run;
 
 NOTE: Input library IN is sequential.
 NOTE: Copying IN.CLASS to WORK.CLASS (memtype=DATA).
 NOTE: BUFSIZE is not cloned when copying across different engines. System Option for BUFSIZE was used.
 NOTE: There were 19 observations read from the data set IN.CLASS.
 NOTE: The data set WORK.CLASS has 19 observations and 5 variables.
 NOTE: PROCEDURE COPY used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.01 seconds
       memory              904.21k
       OS Memory           27820.00k
       Timestamp           05/30/2018 08:58:45 PM
       Step Count                        62  Switch Count  2
       Page Faults                       0
       Page Reclaims                     125
       Page Swaps                        0
       Voluntary Context Switches        12
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           272
       
 
 84         
 85         libname in;
 NOTE: Libref IN has been deassigned.
 86         
 87         OPTIONS NOSYNTAXCHECK;
 88         ODS HTML CLOSE;
 89         &amp;amp;GRAPHTERM; ;*';*";*/;RUN;QUIT;
 90         QUIT;RUN;
 91         ODS HTML5 (ID=WEB) CLOSE;
 92         
 93         ODS PDF (ID=WEB) CLOSE;
 NOTE: ODS PDF(WEB) printed no output. 
       (This sometimes results from failing to place a RUN statement before the ODS PDF(WEB) CLOSE statement.)
 94         FILENAME _GSFNAME;
 NOTE: Fileref _GSFNAME has been deassigned.
 95         DATA _NULL_;
 96         RUN;
 
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              463.31k
       OS Memory           23720.00k
       Timestamp           05/30/2018 08:58:45 PM
       Step Count                        63  Switch Count  0
       Page Faults                       0
       Page Reclaims                     24
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 
 97         OPTIONS VALIDMEMNAME=COMPAT;
 98         OPTIONS NOTES STIMER SOURCE SYNTAXCHECK;
 99      &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 21:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SAS-Studio-XPORT-Transport-File/m-p/466254#M5616</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-30T21:00:56Z</dc:date>
    </item>
  </channel>
</rss>

