<?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 How to save the sas7bdat files made when a study is added in JMP Clinical? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278126#M54023</link>
    <description>&lt;P&gt;I just upgraded to JMP Clinical 7 from 5.&amp;nbsp; I used to be able to add a study from a folder of xpt files, and JMP Clinical would write as the sas7bdat version of each xpt file back into the same folder on my computer.&amp;nbsp; This was useful when the original xpt files had dates in SAS format not readable in JMP; the sas7bdat files would have JMP-readable dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using JMP Clinical 7, I can see the sas7bdat files being written in the temp folder while the study is being added, and if I am fast enough, I can even open and save one or two of them, but then they are deleted when the study add is complete.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I configure JMP Clinical 7 to save those sas7bdat files instead of deleting them?&lt;/P&gt;</description>
    <pubDate>Sat, 10 Jun 2023 23:15:58 GMT</pubDate>
    <dc:creator>NoName</dc:creator>
    <dc:date>2023-06-10T23:15:58Z</dc:date>
    <item>
      <title>How to save the sas7bdat files made when a study is added in JMP Clinical?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278126#M54023</link>
      <description>&lt;P&gt;I just upgraded to JMP Clinical 7 from 5.&amp;nbsp; I used to be able to add a study from a folder of xpt files, and JMP Clinical would write as the sas7bdat version of each xpt file back into the same folder on my computer.&amp;nbsp; This was useful when the original xpt files had dates in SAS format not readable in JMP; the sas7bdat files would have JMP-readable dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using JMP Clinical 7, I can see the sas7bdat files being written in the temp folder while the study is being added, and if I am fast enough, I can even open and save one or two of them, but then they are deleted when the study add is complete.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I configure JMP Clinical 7 to save those sas7bdat files instead of deleting them?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:15:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278126#M54023</guid>
      <dc:creator>NoName</dc:creator>
      <dc:date>2023-06-10T23:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to save the sas7bdat files made when a study is added in JMP Clinical?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278238#M54053</link>
      <description>&lt;P&gt;Hi Noname? :)&lt;/img&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are correct that we have changed the fact that we don't write the sas7bdat files to the study folder any longer. &amp;nbsp;Many of our customers set their study folders to "read only" and additionally we we're technically modifying the input files in that folder (xpt-&amp;gt;sas7bdat). &amp;nbsp;Therefore we changed to read the xpt files directly when performing our metadata collection as well as our analyses. &amp;nbsp;I will see if I can find some code to post an addin that performs the functionality that you are looking for. &amp;nbsp;Sorry for the inconvenience that it has caused you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stay tuned,&lt;/P&gt;
&lt;P&gt;Geoff&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 04:04:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278238#M54053</guid>
      <dc:creator>geoffrey_mann</dc:creator>
      <dc:date>2020-07-13T04:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to save the sas7bdat files made when a study is added in JMP Clinical?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278406#M54068</link>
      <description>&lt;P&gt;Much appreciated!&amp;nbsp; Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 20:48:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/278406#M54068</guid>
      <dc:creator>NoName</dc:creator>
      <dc:date>2020-07-13T20:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to save the sas7bdat files made when a study is added in JMP Clinical?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/282678#M54706</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13747"&gt;@NoName&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a simple JSL script that could help. All you need to do is select the directory of where the .xpt files are and the script with create a folder called SAS Data Sets and save all the .xpt files as .sas7bdat files into that new directory. Below is the code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
xptDir = Pick Directory( "Select a directory with XPT files" );
Create Directory( xptDir || "SAS Data Sets" );
convertedDir = xptDir || "SAS Data Sets/";
xptFiles = Files In Directory( xptDir );
For( i = 1, i &amp;lt;= N Items( xptFiles ), i++,
	If( Ends With( xptFiles[i], "xpt" ),
		dtconvert = Open( xptDir || xptFiles[i], invisible );
		name = dtconvert &amp;lt;&amp;lt; Get Name();
		dtconvert &amp;lt;&amp;lt; Save As( convertedDir || name || ".sas7bdat" );
		Close( dtconvert, NoSave );
	)
);
Close All( Data Tables, NoSave );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 13:55:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/282678#M54706</guid>
      <dc:creator>Chris_Kirchberg</dc:creator>
      <dc:date>2020-07-29T13:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to save the sas7bdat files made when a study is added in JMP Clinical?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/283732#M54815</link>
      <description>&lt;P&gt;I've tried the script on a number of files, in JMP15 and in JMP Clinical 7.&amp;nbsp; It does indeed save the xpt data set as a sas7bdat data set.&amp;nbsp; But it does not change the date format so that it is readable in JMP15 in the sas7bdat file.&amp;nbsp; This result would be similar to when one uses "save as" in JMP and puts in sas7bdat.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even just trying to open the file in JMP Clinical 7 doesn't do it, so I am thinking that the data set has to be loaded into JMP Clinical 7 using the SAS engine for the date format to change.&amp;nbsp; Thank you for the try, though.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Aug 2020 15:03:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/283732#M54815</guid>
      <dc:creator>NoName</dc:creator>
      <dc:date>2020-08-02T15:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to save the sas7bdat files made when a study is added in JMP Clinical?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/283873#M54841</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/13747"&gt;@NoName&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well darn it.&amp;nbsp; I think you may be on to something.&amp;nbsp; I will have to leave it to&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/6884"&gt;@geoffrey_mann&lt;/a&gt;&amp;nbsp;to find the code to convert and save like the older versions of JMP Clinical. Otherwise, the script I sent would have to be modified to scan through to find the date time columns, convert the format and then save.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 14:48:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-save-the-sas7bdat-files-made-when-a-study-is-added-in-JMP/m-p/283873#M54841</guid>
      <dc:creator>Chris_Kirchberg</dc:creator>
      <dc:date>2020-08-03T14:48:54Z</dc:date>
    </item>
  </channel>
</rss>

