<?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 Programing whith MP connexion in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509801#M137104</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to use the mp connection technique to optimize the processing time.&lt;/P&gt;&lt;P&gt;everything works except the libname.&lt;/P&gt;&lt;P&gt;when I point the libname to a local windows folder, the process works.&lt;/P&gt;&lt;P&gt;when I point to a server folder I get this error message:&lt;/P&gt;&lt;P&gt;ERROR: Libref mib non attribué.&lt;/P&gt;&lt;P&gt;I use this programm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro test();
%let srv_c=server port;
%let user_c = **** ; 
%let pwd_c =  **** ;

options comamid=tcp remote=srv_c;
signon user="&amp;amp;user_c" password="&amp;amp;pwd_c" ;

rsubmit ;							
libname libora oracle PATH="****" SCHEMA="***"  USER=*** PASSWORD="***" access=readonly defer=yes ;   			
libname mib "/server/data/users/mib" ;
endrsubmit;

goptions reset = all device  = ACTXIMG;
option autosignon=yes ;	

OPTIONS SASCMD='"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"';

libname mib 'c:/data';

rsubmit process=task1 wait=no;

libname mib "/server/data/users/mib" ;
&lt;BR /&gt;/*This work*/
libname mib 'c:\data';
/*This not work*/&lt;BR /&gt;libname mib '/server/data/user/mib';


/*Creation table enc_6po*/
 
proc sql;

connect to oracle
(PATH="****"       USER= *** PASSWORD="****" ); 

 create table mib.table as select *

from connection to oracle
(
select  distinct         *

	from oralib.table
)
;disconnect from oracle; 

quit; 

endrsubmit task1 ;

signoff task1;


%mend test;


%test;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;can you help me please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Nov 2018 10:09:29 GMT</pubDate>
    <dc:creator>mansour_ib_sas</dc:creator>
    <dc:date>2018-11-02T10:09:29Z</dc:date>
    <item>
      <title>Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509801#M137104</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to use the mp connection technique to optimize the processing time.&lt;/P&gt;&lt;P&gt;everything works except the libname.&lt;/P&gt;&lt;P&gt;when I point the libname to a local windows folder, the process works.&lt;/P&gt;&lt;P&gt;when I point to a server folder I get this error message:&lt;/P&gt;&lt;P&gt;ERROR: Libref mib non attribué.&lt;/P&gt;&lt;P&gt;I use this programm:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro test();
%let srv_c=server port;
%let user_c = **** ; 
%let pwd_c =  **** ;

options comamid=tcp remote=srv_c;
signon user="&amp;amp;user_c" password="&amp;amp;pwd_c" ;

rsubmit ;							
libname libora oracle PATH="****" SCHEMA="***"  USER=*** PASSWORD="***" access=readonly defer=yes ;   			
libname mib "/server/data/users/mib" ;
endrsubmit;

goptions reset = all device  = ACTXIMG;
option autosignon=yes ;	

OPTIONS SASCMD='"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"';

libname mib 'c:/data';

rsubmit process=task1 wait=no;

libname mib "/server/data/users/mib" ;
&lt;BR /&gt;/*This work*/
libname mib 'c:\data';
/*This not work*/&lt;BR /&gt;libname mib '/server/data/user/mib';


/*Creation table enc_6po*/
 
proc sql;

connect to oracle
(PATH="****"       USER= *** PASSWORD="****" ); 

 create table mib.table as select *

from connection to oracle
(
select  distinct         *

	from oralib.table
)
;disconnect from oracle; 

quit; 

endrsubmit task1 ;

signoff task1;


%mend test;


%test;



&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;can you help me please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 10:09:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509801#M137104</guid>
      <dc:creator>mansour_ib_sas</dc:creator>
      <dc:date>2018-11-02T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509823#M137113</link>
      <description>&lt;P&gt;I am not sure, but the problem may be that you are using a Unix path convention under Windows. Normally, Windows paths are written with a backslash, and when you refer to a network path in Windows, you will normally use a double backslash first, e.g.:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname mib '\\server\data\user\mib';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 11:23:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509823#M137113</guid>
      <dc:creator>s_lassen</dc:creator>
      <dc:date>2018-11-02T11:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509824#M137114</link>
      <description>&lt;P&gt;&lt;SPAN&gt;it does not work&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 11:47:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509824#M137114</guid>
      <dc:creator>mansour_ib_sas</dc:creator>
      <dc:date>2018-11-02T11:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509835#M137117</link>
      <description>&lt;P&gt;So you are using SAS/CONNECT to work from one SAS process on one Windows machine to another SAS process on another Windows machine?&lt;/P&gt;
&lt;P&gt;If you try to use a network resource, it might just be that this network mount is not available on the machine you rsubmit to.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 12:30:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509835#M137117</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-02T12:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509861#M137120</link>
      <description>&lt;P&gt;With not libname&lt;/P&gt;&lt;P&gt;NOTE: Table WORK._TEST created, with 15 rows and 10 columns.&lt;/P&gt;&lt;P&gt;but, no dataset in work.&lt;/P&gt;&lt;P&gt;Where is it?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509861#M137120</guid>
      <dc:creator>mansour_ib_sas</dc:creator>
      <dc:date>2018-11-02T13:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509869#M137122</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/121317"&gt;@mansour_ib_sas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;With not libname&lt;/P&gt;
&lt;P&gt;NOTE: Table WORK._TEST created, with 15 rows and 10 columns.&lt;/P&gt;
&lt;P&gt;but, no dataset in work.&lt;/P&gt;
&lt;P&gt;Where is it?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Keep in mind you have two SAS processes here that communicate through SAS/CONNECT, so you have two log streams and two WORK directories.&lt;/P&gt;
&lt;P&gt;Something in the WORK in the remote session is not visible locally.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 13:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509869#M137122</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-11-02T13:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Programing whith MP connexion</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509871#M137123</link>
      <description>&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;now i put this in session rsumit:&lt;/P&gt;&lt;P&gt;%let work_path=%sysfunc(pathname(work));&lt;/P&gt;&lt;P&gt;%put &amp;amp;work_path ;&lt;/P&gt;&lt;P&gt;no dataset in path display&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 14:03:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Programing-whith-MP-connexion/m-p/509871#M137123</guid>
      <dc:creator>mansour_ib_sas</dc:creator>
      <dc:date>2018-11-02T14:03:24Z</dc:date>
    </item>
  </channel>
</rss>

