<?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 Can a stored process in enterprise guide use the work of the user executing it? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/504998#M32256</link>
    <description>&lt;P&gt;Can a stored process in enterprise guide use the work of the user executing it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the user to be able to specify a worktable to retrieve column and label information from.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Oct 2018 08:38:45 GMT</pubDate>
    <dc:creator>Filipvdr</dc:creator>
    <dc:date>2018-10-17T08:38:45Z</dc:date>
    <item>
      <title>Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/504998#M32256</link>
      <description>&lt;P&gt;Can a stored process in enterprise guide use the work of the user executing it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the user to be able to specify a worktable to retrieve column and label information from.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:38:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/504998#M32256</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2018-10-17T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505004#M32257</link>
      <description>&lt;P&gt;I believe a stored process executes in its own environment/session so I'd say it's not possible.&lt;/P&gt;
&lt;P&gt;You would have to pass the values in the work table as parameters to the stored process when calling it.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:47:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505004#M32257</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-10-17T08:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505008#M32258</link>
      <description>&lt;P&gt;Hmm ok, it confirms what I was thinking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Passing all the column names and labels as paramters which has to be entered by the user is not an option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we create our own custom task, It would probably solve it? But we don't have any experience with that. Any other suggestions?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505008#M32258</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2018-10-17T08:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505009#M32259</link>
      <description>&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;A stored process runs on the stored process server, which is started with a generic user-ID (usually sassrv), and has its own WORK.&lt;/P&gt;
&lt;P&gt;The user sassrv does not have the necessary permissions to even &lt;EM&gt;access&lt;/EM&gt; your WORK directory on the operating system level, much less is there any mechanism to find it from the STP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to feed data to a STP, do so via user prompts or a dataset defined in SAS metadata in a permanent library.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 08:56:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505009#M32259</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-10-17T08:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505011#M32260</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;&amp;nbsp;is correct, the stp has its own session =&amp;gt; work and doesn't know about the users work.&lt;/P&gt;
&lt;P&gt;You can of course try to identify the work of the user, it can be done but is complex (You get the userid in the stp, find all processes running, identify the process of your user and then find the corresponding work of the user (on AIX the pid is hexed and then put as part of the work-directories name) - but be aware that users open multiple EG session which complicates this matter further)&amp;nbsp; So: possible? yes! Advicable? no!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505011#M32260</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-10-17T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505012#M32261</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/19791"&gt;@Filipvdr&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Just to build on&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;'s suggestion "&lt;EM&gt;If you want to feed data to a STP, do so via user prompts or a dataset defined in SAS metadata in a permanent library&lt;/EM&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could create individual permanent data sets (generated names which are always unique) and then pass the libref.dsname as parameter to the stored process (ds must be accessible from stored process server).&lt;/P&gt;
&lt;P&gt;If using metadata: You can use a macro variable in the metadata table name definition which you pass to the stored process as parameter and then use this parameter in your stored process code.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:01:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505012#M32261</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2018-10-17T09:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505013#M32262</link>
      <description>&lt;P&gt;You could define a common area, like a temp lib or if your users have permanent user-libs they could save their tables there and feed these as input for the stp&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505013#M32262</guid>
      <dc:creator>Criptic</dc:creator>
      <dc:date>2018-10-17T09:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Can a stored process in enterprise guide use the work of the user executing it?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505017#M32263</link>
      <description>&lt;P&gt;thanks for the quick replies!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see any other options then to create my own task, to make it not too complicated for business users&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using a library which is shared for every user is securitywise not a good option here. We also don't want our business users to have to write a proc contents to generate the table.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Oct 2018 09:29:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Can-a-stored-process-in-enterprise-guide-use-the-work-of-the/m-p/505017#M32263</guid>
      <dc:creator>Filipvdr</dc:creator>
      <dc:date>2018-10-17T09:29:48Z</dc:date>
    </item>
  </channel>
</rss>

