<?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 datasets &amp;quot;Open With&amp;quot; JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/765#M765</link>
    <description>It might be worth checking with SAS support about getting Open With to do what you want. It also is worth letting SAS support know that you would like JMP to have the capability built in to Open With JMP using SAS names instead of SAS labels.&lt;BR /&gt;&lt;BR /&gt;A possible half way workaround would be to add a script like the one I suggested to the menu bar of your users JMP installation. Then, when they open a SAS dataset using Open With, they would just have to run the Menu item script to change the headers. This can be done and the process of doing such a customization to a single installation of JMP is described in the JMP docs.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
    <pubDate>Fri, 25 Sep 2009 16:00:50 GMT</pubDate>
    <dc:creator>mpb</dc:creator>
    <dc:date>2009-09-25T16:00:50Z</dc:date>
    <item>
      <title>SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/761#M761</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am new to JMP and would like to use it with SAS datasets on Windows XP.&lt;BR /&gt;&lt;BR /&gt;Is it possible to set the “use SAS variable names as column headers” option globally in JMP, so it will be invoked even when a SAS dataset is being open by clicking on “Open with”  in Windows Explorer?&lt;BR /&gt;&lt;BR /&gt;Thank you for advance.&lt;BR /&gt;IG</description>
      <pubDate>Tue, 22 Sep 2009 16:57:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/761#M761</guid>
      <dc:creator>ig</dc:creator>
      <dc:date>2009-09-22T16:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/762#M762</link>
      <description>&lt;P&gt;I am not seeing a way to directly do what you ask though it may be possible and someone here may show you the way. However, it is possible through scripting to change the column headers of the imported table to the equivalent SAS variable names. When you open a SAS dataset in JMP, JMP appears to create 2 new properties for each column. One is called SAS Name and the other is called SAS Label. You want to replace the JMP column names with the SAS Names. Here is a script to do that (at least in 8.0.1):&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Data Table( "DemoSAS" );
lastcol = N Col( dt );

For( i = 1, i &amp;lt; lastcol+1, i++,
col = Column Name( i );
SASn = col &amp;lt;&amp;lt; Get Property( "SAS Name" );
col &amp;lt;&amp;lt; Set Name( Char( Eval Expr( SASn ) ) );
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;You would need to change the first line as appropriate ... e.g. you can replace "DemoSAS" with the name of an open table, or you can change the line to be an Open which will prompt you to select a file containing a JMP table.&lt;BR /&gt;&lt;BR /&gt;I haven't tried it but it is possible (not certain!) you could create a new file association which you could label Open SAS Data with JMP that runs a similar script on opening a SAS dataset.&lt;BR /&gt;&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 21:33:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/762#M762</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2018-02-12T21:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/763#M763</link>
      <description>in version 8.0.1 go to File / Preferences (or ctl-K) and scroll down to SAS Integration. There are 3 options for SAS Import:&lt;BR /&gt; - Use SAS Column Labels for Column Names during data import&lt;BR /&gt; - Convert SAS custom formats to JMP value Labels&lt;BR /&gt; - Warn before closing unsaved imported data</description>
      <pubDate>Wed, 23 Sep 2009 21:04:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/763#M763</guid>
      <dc:creator>gh</dc:creator>
      <dc:date>2009-09-23T21:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/764#M764</link>
      <description>Hi Michael and GH,&lt;BR /&gt;&lt;BR /&gt;Thank you for your replays.   &lt;BR /&gt;&lt;BR /&gt;I am trying to convince our non-programming users to use JMP instead of SAS Viewer or MS Excel. Since we have SAS datasets in multiple locations it is more convenient to use the MS Windows Explorer ‘Open With’ feature: &lt;BR /&gt;Navigate to the appropriate directory in MS Win Explorer, right click on a SAS dataset, point to ‘Open With’, and click on JMP Application to open the dataset in JMP.&lt;BR /&gt; Unfortunately JMP gives variable labels instead of variable names as column headers. I did not find any way to switch to variable names. Of course, the first i tried was ‘SAS integration’ options in JMP Preferences. It works only if a SAS dataset is open directly from JMP but this option is getting lost if a dataset is open with JMP from MS Win Explorer. It might be a JMP installation problem or a JMP bug: if there is an option it should work no matter how JMP gets executed. &lt;BR /&gt;A solution with a script might work:&lt;BR /&gt;&lt;I&gt;How to integrate a script into JMP so it will be invoked when JMP is getting executed from Win Explorer thru the “Open With” feature?&lt;/I&gt; &lt;BR /&gt;For the time being I have written a SAS macro to export all SAS datasets of interest to an Excel file as separate sheets and with variable names as headers.&lt;BR /&gt;&lt;BR /&gt;Thank you again for your help,&lt;BR /&gt;IG</description>
      <pubDate>Fri, 25 Sep 2009 14:03:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/764#M764</guid>
      <dc:creator>ig</dc:creator>
      <dc:date>2009-09-25T14:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/765#M765</link>
      <description>It might be worth checking with SAS support about getting Open With to do what you want. It also is worth letting SAS support know that you would like JMP to have the capability built in to Open With JMP using SAS names instead of SAS labels.&lt;BR /&gt;&lt;BR /&gt;A possible half way workaround would be to add a script like the one I suggested to the menu bar of your users JMP installation. Then, when they open a SAS dataset using Open With, they would just have to run the Menu item script to change the headers. This can be done and the process of doing such a customization to a single installation of JMP is described in the JMP docs.&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Fri, 25 Sep 2009 16:00:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/765#M765</guid>
      <dc:creator>mpb</dc:creator>
      <dc:date>2009-09-25T16:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/766#M766</link>
      <description>Hi  Michael,&lt;BR /&gt;&lt;BR /&gt;Thank you very much. I will definitely contact SAS support and post any valuable information received from them to this thread. By the way, the SAS itself has a similar nuisance: I have permanently changed the VIEWTABLE to display variable names as default ( see http://www2.sas.com/proceedings/sugi31/255-31.pdf), but the labels are still coming on ‘Open With SAS’.  At least there is a View option to switch to variable names. Your script provides such an option in JMP.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;Have a nice weekend.&lt;BR /&gt;&lt;BR /&gt;IG</description>
      <pubDate>Fri, 25 Sep 2009 17:49:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/766#M766</guid>
      <dc:creator>ig</dc:creator>
      <dc:date>2009-09-25T17:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAS datasets "Open With" JMP</title>
      <link>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/51131#M29036</link>
      <description>&lt;P&gt;In JMP 10 and later, go to File --&amp;gt; Preferences, select SAS Integration, and turn on the option to "Use SAS Column Labels for Column Names during data import". This option now works to automatically use the column labels regardless of the way the SAS data table is opened in JMP.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2018 21:24:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SAS-datasets-quot-Open-With-quot-JMP/m-p/51131#M29036</guid>
      <dc:creator>susan_walsh1</dc:creator>
      <dc:date>2018-02-12T21:24:48Z</dc:date>
    </item>
  </channel>
</rss>

