<?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 PC CONNECT - Cannot find a dataset created... in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-PC-CONNECT-Cannot-find-a-dataset-created/m-p/51948#M14276</link>
    <description>As msex1 is within the rsubmit/endrsubmit block, the work library that is used is the one on the remote server.</description>
    <pubDate>Mon, 18 Apr 2011 12:25:02 GMT</pubDate>
    <dc:creator>Doc_Duke</dc:creator>
    <dc:date>2011-04-18T12:25:02Z</dc:date>
    <item>
      <title>SAS PC CONNECT - Cannot find a dataset created...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-PC-CONNECT-Cannot-find-a-dataset-created/m-p/51947#M14275</link>
      <description>Hello everyone,&lt;BR /&gt;
&lt;BR /&gt;
After successfully connecting to a remote server, I ran the following codes without errors (according to the SAS log). However, I cannot find the dataset (msex1) created. In local SAS, this "msex1" dataset is supposed to be in temporary WORK library, but I am not sure whether it should be so having the remote SAS. I've been using SAS for a while now, but the past several days are the first time I have been trying to learn to use SAS CONNECT, so I have found this really confusing. Can anyone please help?&lt;BR /&gt;
&lt;BR /&gt;
rsubmit;&lt;BR /&gt;
libname crsp '/wrds/crsp/sasdata/sm'; &lt;BR /&gt;
proc sort data=crsp.mseall(keep=date permno exchcd shrcd siccd) out=mseall nodupkey; 	&lt;BR /&gt;
where exchcd ne . or shrcd in (10,11); &lt;BR /&gt;
	by permno date exchcd; &lt;BR /&gt;
run; &lt;BR /&gt;
&lt;BR /&gt;
proc sql; &lt;BR /&gt;
	create table msex1 as &lt;BR /&gt;
		select * &lt;BR /&gt;
	from crsp.msf(keep=date permno cusip prc shrout ret) as a &lt;BR /&gt;
		left join &lt;BR /&gt;
		mseall as b &lt;BR /&gt;
	on a.permno=b.permno and a.date= b.date; &lt;BR /&gt;
run; &lt;BR /&gt;
quit;&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
By the way, how can I wrap the codes so you can see it more easily?</description>
      <pubDate>Mon, 18 Apr 2011 01:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-PC-CONNECT-Cannot-find-a-dataset-created/m-p/51947#M14275</guid>
      <dc:creator>smilingmelbourne</dc:creator>
      <dc:date>2011-04-18T01:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS PC CONNECT - Cannot find a dataset created...</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-PC-CONNECT-Cannot-find-a-dataset-created/m-p/51948#M14276</link>
      <description>As msex1 is within the rsubmit/endrsubmit block, the work library that is used is the one on the remote server.</description>
      <pubDate>Mon, 18 Apr 2011 12:25:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-PC-CONNECT-Cannot-find-a-dataset-created/m-p/51948#M14276</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-04-18T12:25:02Z</dc:date>
    </item>
  </channel>
</rss>

