<?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 Datasets Labels gets missing after converted .XPT to SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130061#M35416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i am converting .XPT files to SAS datasets files datasets Labels gets missing. Kindly provide the resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note - Converting bunch of XPT files to SAS datasets through macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Jul 2013 07:53:23 GMT</pubDate>
    <dc:creator>rohit_prajapati</dc:creator>
    <dc:date>2013-07-10T07:53:23Z</dc:date>
    <item>
      <title>Datasets Labels gets missing after converted .XPT to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130061#M35416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i am converting .XPT files to SAS datasets files datasets Labels gets missing. Kindly provide the resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note - Converting bunch of XPT files to SAS datasets through macro.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 07:53:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130061#M35416</guid>
      <dc:creator>rohit_prajapati</dc:creator>
      <dc:date>2013-07-10T07:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets Labels gets missing after converted .XPT to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130062#M35417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if you used PROC COPY/CIMPORT, the label should still here.&lt;/P&gt;&lt;P&gt;If you used SET statement in the macro, then the label would be lost.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 13:13:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130062#M35417</guid>
      <dc:creator>sandyming</dc:creator>
      <dc:date>2013-07-10T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets Labels gets missing after converted .XPT to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130063#M35418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Label was lost during PROC COPY also....&amp;nbsp;&amp;nbsp; You can try&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130063#M35418</guid>
      <dc:creator>rohit_prajapati</dc:creator>
      <dc:date>2013-07-10T14:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets Labels gets missing after converted .XPT to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130064#M35419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check your macro.&amp;nbsp; SAS is not doing it.&amp;nbsp; Try this test to see for yourself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename out temp;&lt;/P&gt;&lt;P&gt;libname out xport ;&lt;/P&gt;&lt;P&gt;data out.class(label='My label'); set sashelp.class; run;&lt;/P&gt;&lt;P&gt;proc copy inlib=out outlib=work; run;&lt;/P&gt;&lt;P&gt;proc contents data=class;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2013 14:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130064#M35419</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2013-07-10T14:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Datasets Labels gets missing after converted .XPT to SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130065#M35420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is the macro code..........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/****** Macro to convert .XPT files to sas datasets *****************/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;options mprint symbolgen mlogic;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/******************* Import domain sheet **************/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%MACRO DSAT(DOMAIN=);&lt;/P&gt;&lt;P&gt;proc import datafile = "...................../domains.xls" out=&amp;amp;DOMAIN&lt;BR /&gt;Replace&lt;BR /&gt;DBMS=xls;&lt;BR /&gt;getnames=yes;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;/********* Domains sheet contain list of the datasets i.e. ae, dm, ds, eg...... ***********/&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PROC SQL;&lt;BR /&gt;SELECT COUNT(*) INTO :CNT FROM &amp;amp;DOMAIN;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;%PUT &amp;amp;CNT.;&lt;/P&gt;&lt;P&gt;%let CNT = %EVAL(&amp;amp;CNT.);&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;SELECT DISTINCT DATASETS INTO: DATASETS1-:DATASETS&amp;amp;CNT FROM &amp;amp;DOMAIN;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;%DO I=1 %TO &amp;amp;CNT;&lt;/P&gt;&lt;P&gt; LIBNAME DT XPORT "............./&amp;amp;&amp;amp;DATASETS&amp;amp;I...xpt"; /**** Path contain .XPT files which we mapped with Domains excel sheet ****/&lt;/P&gt;&lt;P&gt; PROC COPY IN = DT OUT=WORK;&lt;BR /&gt; RUN;&lt;/P&gt;&lt;P&gt;%END;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%MEND;&lt;BR /&gt;%DSAT(DOMAIN=domains);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/******** Excel data contains *******/&lt;/P&gt;&lt;P&gt;datasets&lt;BR /&gt;ae&lt;BR /&gt;cm&lt;BR /&gt;dm&lt;BR /&gt;ds&lt;BR /&gt;eg&lt;BR /&gt;ex&lt;/P&gt;&lt;P&gt;/************/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while generating the output.... For Some of the datasets the LABEL was lost in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know the resolution or any other ways to retain the LABEL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jul 2013 13:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datasets-Labels-gets-missing-after-converted-XPT-to-SAS/m-p/130065#M35420</guid>
      <dc:creator>rohit_prajapati</dc:creator>
      <dc:date>2013-07-11T13:16:32Z</dc:date>
    </item>
  </channel>
</rss>

