<?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 find whether any server is signed on from SAS/Base? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165836#M300632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and the listtask information? (also documented with SAS/connect) as is waitfor. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 May 2014 11:43:42 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-05-20T11:43:42Z</dc:date>
    <item>
      <title>how to find whether any server is signed on from SAS/Base?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165831#M300627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to find whether the user has signed on to any server from PC SAS. I could do it with the server name which is signed on, by getting it from a macro variable. But I would need to do it without using the server name macro variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, is it possible to just know whether any server is remotely signed on from PC SAS by using set of SAS Base or SCL code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sudharsanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 06:45:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165831#M300627</guid>
      <dc:creator>sudharsanan</dc:creator>
      <dc:date>2014-05-20T06:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to find whether any server is signed on from SAS/Base?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165832#M300628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mean active SAS/CONNECT or workspace server sessions, you best call a shell script and read the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;filename oscmd pipe "ps -ef|grep grlink";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data connectusers;&lt;/P&gt;&lt;P&gt;infile oscmd;&lt;/P&gt;&lt;P&gt;length user $ 8;&lt;/P&gt;&lt;P&gt;input user;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;grlink is typical for SAS/connect commandlines, you can use any other option that is indicative of the processtype you wish to list ('bridge spawned' for workspace servers)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method is for UNIX servers, and you may have to tinker with the ps options depending on which UNIX you are on. ps -ef is for AIX. Don't know how to get it via commandline on windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 06:56:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165832#M300628</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-05-20T06:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to find whether any server is signed on from SAS/Base?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165833#M300629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@KurtBremser Thanks for your reply. I think "ps -ef|grep grlink" is a unix command. I think the code provided are for Unix server, may be used by remote submitting to a Unix server for PC SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be clear on my question, from my Windows SAS Base, I need to find whether any server (mostly Unix server) is signed on already or not. I need to do the verification before remote submitting any statements to the signed on server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 07:05:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165833#M300629</guid>
      <dc:creator>sudharsanan</dc:creator>
      <dc:date>2014-05-20T07:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to find whether any server is signed on from SAS/Base?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165834#M300630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So what you want to know is if, in your current SAS session on windows, you have already established a SAS/CONNECT connection to one of the defined servers which reside on any platform?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 07:14:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165834#M300630</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2014-05-20T07:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: how to find whether any server is signed on from SAS/Base?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165835#M300631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps the CMACVAR= option could be of help?&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/connref/67174/HTML/default/viewer.htm#p0brzkmxqg483hn163ek01h4mf6e.htm"&gt;http://support.sas.com/documentation/cdl/en/connref/67174/HTML/default/viewer.htm#p0brzkmxqg483hn163ek01h4mf6e.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 07:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165835#M300631</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2014-05-20T07:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to find whether any server is signed on from SAS/Base?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165836#M300632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and the listtask information? (also documented with SAS/connect) as is waitfor. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 11:43:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-find-whether-any-server-is-signed-on-from-SAS-Base/m-p/165836#M300632</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-05-20T11:43:42Z</dc:date>
    </item>
  </channel>
</rss>

