<?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: How to connect to Medidata RAVE and download data  on a daily basis in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800919#M315151</link>
    <description>I am unsure on how to use the get request using the machine I am running. The computer has a windows OS running on it with a VPN and an active internet connection. Will try to find resources on how to use the "GET" request from google and test it out. Thanks.</description>
    <pubDate>Tue, 08 Mar 2022 18:19:37 GMT</pubDate>
    <dc:creator>shasank</dc:creator>
    <dc:date>2022-03-08T18:19:37Z</dc:date>
    <item>
      <title>How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800716#M315040</link>
      <description>&lt;P&gt;Hi SAS Community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to Medidata Rave and SAS integration to download data and need some assistance. I am currently using the SAS on Demand to initiate a request and and connecting to ftp server using the filename ftp to download the extract the data. I was trying to use the Biostat/ODM adapter to find a way to connect to the Rave table for smaller requests and have them run directly instead of having a SAS on demand request.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have researched and was unable to find a way to implement the "Get" functions to get the data. I am currently using SAS 9.4 and the data is stored on an instance. I understand that I can use proc http to connect to the data server and so far I am unable to find a documentation/code that can guide me through the steps and factors to consider.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone familiar with the problem help out ??&amp;nbsp; Below is an example of code I am using below with "my-organization" replaced with working name.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;filename resp 'O:\test.csv';

proc http 
   method="GET" 
   url="GET https://my-organisation.mdsol.com/RaveWebServices/studies/Mediflex(Prod)/datasets/raw/DEMOG.csv" 
   out=resp;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 19:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800716#M315040</guid>
      <dc:creator>shasank</dc:creator>
      <dc:date>2022-03-07T19:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800741#M315054</link>
      <description>&lt;P&gt;What does the log show when you run your code attempts?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy the text from the log with the code and any messages, notes, warnings or errors. On the forum, open a text box using the &amp;lt;/&amp;gt; icon that appears above the main message window and paste the text.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The text box helps maintain formatting of some of the diagnostics that SAS provides. The main message windows will reformat text, sometimes making it very hard to decipher such diagnostics.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 22:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800741#M315054</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-03-07T22:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800841#M315107</link>
      <description>&lt;PRE&gt;ERROR: The URI is missing the port value after the ':' port separator.
ERROR: URL is malformed.
NOTE: PROCEDURE HTTP used (Total process time):
      real time           0.01 seconds
      cpu time            0.00 seconds

NOTE: The SAS System stopped processing this step because of errors.

&lt;/PRE&gt;&lt;P&gt;Here is the log after this code is run.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 13:06:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800841#M315107</guid>
      <dc:creator>shasank</dc:creator>
      <dc:date>2022-03-08T13:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800857#M315117</link>
      <description>&lt;P&gt;'GET https...' does not look like the beginning of a valid URL.&amp;nbsp; Remove the 'GET ' from the url value.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 14:38:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800857#M315117</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-08T14:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800885#M315130</link>
      <description>&lt;PRE&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE&gt;ERROR: Host name resolution failed
NOTE: PROCEDURE HTTP used (Total process time):
      real time           1.26 seconds
      cpu time            0.04 seconds

NOTE: The SAS System stopped processing this step because of errors.&lt;/PRE&gt;&lt;P&gt;Thank you for your feedback. I have this log error after removing the GET.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 16:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800885#M315130</guid>
      <dc:creator>shasank</dc:creator>
      <dc:date>2022-03-08T16:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800886#M315131</link>
      <description>&lt;P&gt;Does that URL work from your PC?&lt;/P&gt;
&lt;P&gt;Does it work from the machine where SAS is running?&amp;nbsp; Is that machine even connected to the outside world?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 16:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800886#M315131</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-03-08T16:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800914#M315148</link>
      <description>&lt;P&gt;Just a thought.... did you ask Medidata about this?&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't used it, but in a prior clinical trial job when I was leaving they were just starting a move to Medidata.&amp;nbsp; And it seemed like Medidata was the '1000 pound gorilla' in electronic data capture for clinical trials.&amp;nbsp; Since SAS is still (I think) the '1000 pound gorilla' for analyzing clinical trial data, I would think Medidata would have a vested interest in making it easy for data managers / biostatisticians to pull data into SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this fact sheet, they talk about an "ODM adapter" for accessing data.&amp;nbsp;&amp;nbsp;&lt;A href="https://www.medidata.com/wp-content/uploads/2019/05/Customer-Facing-Fact-Sheet-Rave-EDC-May-19-1.pdf" target="_blank"&gt;https://www.medidata.com/wp-content/uploads/2019/05/Customer-Facing-Fact-Sheet-Rave-EDC-May-19-1.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But again, I have no direct experience, other than having seen a few demos.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 17:39:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800914#M315148</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-03-08T17:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800918#M315150</link>
      <description>Thank you for your reply. I did try and contact them. They just send me some link that have instruction on using the GET request to access the data and had nothing else. So, thought if anyone in the community worked on this and can help me on how to use an ODM adapter with the get requests.</description>
      <pubDate>Tue, 08 Mar 2022 18:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800918#M315150</guid>
      <dc:creator>shasank</dc:creator>
      <dc:date>2022-03-08T18:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800919#M315151</link>
      <description>I am unsure on how to use the get request using the machine I am running. The computer has a windows OS running on it with a VPN and an active internet connection. Will try to find resources on how to use the "GET" request from google and test it out. Thanks.</description>
      <pubDate>Tue, 08 Mar 2022 18:19:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/800919#M315151</guid>
      <dc:creator>shasank</dc:creator>
      <dc:date>2022-03-08T18:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to Medidata RAVE and download data  on a daily basis</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/858923#M339370</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I use a 2 step approach:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; first read your study metadata where you can find all the forms that are defined in your study build&lt;/P&gt;
&lt;P&gt;&amp;nbsp; based on above list you can download each form data no matter what exact study you are using (it is metadata driven, so with a few parameters you can use this for multiple studies)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if you are using this in LSAF you most likely need to add a proxy and request to SAS professional services (jira ticket) to open that specific port in their network so that LSAF can connect to Medidata RWS (webservices)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;example for metadata::&lt;/P&gt;
&lt;P&gt;&lt;A href="https://url.mdsol.com/RaveWebServices/datasets/Clinicalviewmetadata.csv?projectname=studyID" target="_blank"&gt;https://url.mdsol.com/RaveWebServices/datasets/Clinicalviewmetadata.csv?projectname=studyID&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;replace URL with your medidata URL and studyID with the study you need&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;form data extraction=&lt;BR /&gt;proc http proxyhost="webproxy.vsp.sas.com" proxyport=3128&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out=clindata &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url="&lt;A href="https://URL.mdsol.com/RaveWebServices/datasets/V_studyID_FormID.csv?environmentName=prod" target="_blank"&gt;https://URL.mdsol.com/RaveWebServices/datasets/V_studyID_FormID.csv?environmentName=prod&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; headerin=httphead &lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;headerout=httpret&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;method="get"&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ct="text/plain;charset=UTF-8";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use Medidata mAuth for authentication, so that's the reason I need the http input header&lt;/P&gt;
&lt;P&gt;output header I use to scan for return message (OK, nok,...)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 12:41:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-connect-to-Medidata-RAVE-and-download-data-on-a-daily/m-p/858923#M339370</guid>
      <dc:creator>MarkRoosen</dc:creator>
      <dc:date>2023-02-15T12:41:08Z</dc:date>
    </item>
  </channel>
</rss>

