<?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: Output store procedure in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432067#M106936</link>
    <description>&lt;P&gt;Thanks for replay...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting the input from upper node (Price Plan) and&amp;nbsp;after that need to exclude those subscriber who doesn't want the campaign and SMS and as well as exclude those subs who already have one marketing benefit offer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 06:08:19 GMT</pubDate>
    <dc:creator>ebad_shakeeb</dc:creator>
    <dc:date>2018-01-30T06:08:19Z</dc:date>
    <item>
      <title>Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431597#M106783</link>
      <description>&lt;P&gt;I have created the store procedure, will calling it doesn't gives me the desire output, which is the deletion records from INTABLE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As Tested only the porblem is with &amp;amp;OUTABLE at last...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%global stdcode;&lt;BR /&gt;%STPBEGIN;&lt;BR /&gt;%MASPINIT;&lt;BR /&gt;%Macro InitialNode_Setup;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%if &amp;amp;INTABLE EQ %then &lt;BR /&gt; %MA_Set_Output_Subject_ID(&amp;amp;Subject);&lt;BR /&gt;%mend InitialNode_Setup;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%MACRO S_MERGE;&lt;BR /&gt;LIBNAME SAS_BASE base "C:\CI\SAS_BASE_LIB";&lt;BR /&gt;libname mkt oracle path=mkt SCHEMA=CCMKT USER=CCMKT PASSWORD="*************" dbsliceparm=all;&lt;BR /&gt;LIBNAME BICRMMA TERADATA SERVER=BITERADATA SCHEMA=DP_BVEW USER=ETICRM PASSWORD="{SAS002}5FF62C162FA4F37B53CC523625AB8AB1" dbsliceparm=all;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%LET std_code=&amp;amp;stdcode;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table &amp;amp;OUTTABLE.Tn_1 as&lt;BR /&gt;select a.subs_id as subs_id from mkt.afa_subs_campaign a, &amp;amp;intable b where a.std_code="&amp;amp;std_code" and a.subs_id=b.subs_id;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;%put SQLEXITCODE2=&amp;amp;SQLEXITCODE;&lt;BR /&gt;%put SQLOBS2=&amp;amp;SQLOBS;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt; CREATE TABLE &amp;amp;OUTTABLE.Tn_2 AS &lt;BR /&gt;select b.subs_id from bicrmma.sms_opt_out a, bicrmma.cc_subs_basic b, &amp;amp;intable c where a.msisdn=b.acc_nbr and b.subs_id=c.subs_id;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%put SQLEXITCODE1=&amp;amp;SQLEXITCODE;&lt;BR /&gt; %put SQLOBS1=&amp;amp;SQLOBS;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table &amp;amp;OUTTABLE.Tn_3 as&lt;BR /&gt;select subs_id as subs_id from &amp;amp;INTABLE ;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;%put SQLEXITCODE1=&amp;amp;SQLEXITCODE;&lt;BR /&gt; %put SQLOBS1=&amp;amp;SQLOBS;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc sql;&lt;BR /&gt;delete from &amp;amp;OUTTABLE.Tn_3 where subs_id in (select subs_id from &amp;amp;OUTTABLE.Tn_1);&lt;BR /&gt;delete from &amp;amp;OUTTABLE.Tn_3 where subs_id in (select subs_id from &amp;amp;OUTTABLE.Tn_2);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc sql noprint;&lt;BR /&gt;drop table &amp;amp;outtable;&lt;BR /&gt;create table &amp;amp;outtable as&lt;BR /&gt;select a.subs_id as subs_id from &amp;amp;INTABLE b, &amp;amp;OUTTABLE.Tn_3 a where a.subs_id=b.subs_id;&lt;BR /&gt;quit;&lt;/P&gt;
&lt;P&gt;%put SQLEXITCODE3=&amp;amp;SQLEXITCODE;&lt;BR /&gt;%put SQLOBS3=&amp;amp;SQLOBS;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%MEND S_MERGE;&lt;BR /&gt;%MACOUNT(&amp;amp;OUTTABLE);&lt;BR /&gt;%MASTATUS(&amp;amp;_STPWORK.STATUS.TXT);&lt;BR /&gt;%STPEND;&lt;BR /&gt;%S_MERGE;&lt;BR /&gt;%InitialNode_Setup;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2018 11:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431597#M106783</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-28T11:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431603#M106785</link>
      <description>&lt;P&gt;What does your output look like? And how does it differ from the desired output?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2018 12:54:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431603#M106785</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2018-01-28T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431608#M106788</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/5316"&gt;@ebad_shakeeb&lt;/a&gt;&amp;nbsp;- few remarks to your post:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) It is difficult to follow your code. I have copied it here in the {man} icon window. Watch the difference:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%global stdcode;
%STPBEGIN;
%MASPINIT;

%Macro InitialNode_Setup;
    %if &amp;amp;INTABLE EQ %then 
    %MA_Set_Output_Subject_ID(&amp;amp;Subject);
%mend InitialNode_Setup;


%MACRO S_MERGE;
    LIBNAME SAS_BASE base "C:\CI\SAS_BASE_LIB";
    libname mkt oracle path=mkt SCHEMA=CCMKT USER=CCMKT PASSWORD="*************" dbsliceparm=all;
    LIBNAME BICRMMA TERADATA SERVER=BITERADATA SCHEMA=DP_BVEW USER=ETICRM PASSWORD="{SAS002}5FF62C162FA4F37B53CC523625AB8AB1" dbsliceparm=all;

	%LET std_code=&amp;amp;stdcode;

    proc sql;
      create table &amp;amp;OUTTABLE.Tn_1 as
      select a.subs_id as subs_id from mkt.afa_subs_campaign a, &amp;amp;intable b where a.std_code="&amp;amp;std_code" and a.subs_id=b.subs_id;
    run;

    %put SQLEXITCODE2=&amp;amp;SQLEXITCODE;
    %put SQLOBS2=&amp;amp;SQLOBS;

    proc sql;
       CREATE TABLE &amp;amp;OUTTABLE.Tn_2 AS 
       select b.subs_id 
       from bicrmma.sms_opt_out a, 
            bicrmma.cc_subs_basic b, 
	        &amp;amp;intable c    where a.msisdn=b.acc_nbr and b.subs_id=c.subs_id;
    run;

   %put SQLEXITCODE1=&amp;amp;SQLEXITCODE;
   %put SQLOBS1=&amp;amp;SQLOBS;

   proc sql;
      create table &amp;amp;OUTTABLE.Tn_3 as
      select subs_id as subs_id from &amp;amp;INTABLE ;
   run;

   %put SQLEXITCODE1=&amp;amp;SQLEXITCODE;
   %put SQLOBS1=&amp;amp;SQLOBS;

   proc sql;
     delete from &amp;amp;OUTTABLE.Tn_3 where subs_id in (select subs_id from &amp;amp;OUTTABLE.Tn_1);
     delete from &amp;amp;OUTTABLE.Tn_3 where subs_id in (select subs_id from &amp;amp;OUTTABLE.Tn_2);
   run;

   proc sql noprint;
     drop table &amp;amp;outtable;
     create table &amp;amp;outtable as
     select a.subs_id as subs_id from &amp;amp;INTABLE b, &amp;amp;OUTTABLE.Tn_3 a where a.subs_id=b.subs_id;
   quit;

   %put SQLEXITCODE3=&amp;amp;SQLEXITCODE;
   %put SQLOBS3=&amp;amp;SQLOBS;
%MEND S_MERGE;

%MACOUNT(&amp;amp;OUTTABLE);
%MASTATUS(&amp;amp;_STPWORK.STATUS.TXT);
%STPEND;
%S_MERGE;
%InitialNode_Setup;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) Using &lt;STRONG&gt;PROC SQL&lt;/STRONG&gt; - end it with &lt;STRONG&gt;QUIT&lt;/STRONG&gt;;&amp;nbsp; instead of &lt;STRONG&gt;RUN&lt;/STRONG&gt;;&amp;nbsp; &amp;nbsp; -&amp;nbsp; Check your log and see appropriate note.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) You displayed only two macro codes:&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;CODE class=" language-sas"&gt;&lt;STRONG&gt;InitialNode_Setup&amp;nbsp; &lt;/STRONG&gt;and &lt;STRONG&gt;S_merge&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; but you use other macros too, unknown&amp;nbsp;to the forum.&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;4) You wrote "...&lt;SPAN&gt;calling it doesn't give me the desired output...".&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp; &amp;nbsp;What is your input ? what should the code do? what is the desired output?&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp; &amp;nbsp;Have you checked the log? What warning or error messages are there?&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;In order that the forum can help you please post:&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp; &amp;nbsp;- sample of your data&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp; &amp;nbsp;- describe what the code should do&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp; &amp;nbsp;- expected output relating to the sample&lt;/CODE&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;CODE class=" language-sas"&gt;&amp;nbsp; &amp;nbsp;- the log in case of warnings and errors,&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;using &lt;/CODE&gt;&lt;/STRONG&gt;&lt;CODE class=" language-sas"&gt;options mprint mlogic&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jan 2018 13:58:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431608#M106788</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-01-28T13:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431611#M106790</link>
      <description>&lt;P&gt;just wondering to know, whether you or your group has right to delete records&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token function"&gt;delete&lt;/SPAN&gt; &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;OUTTABLE&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Tn_3 &lt;SPAN class="token statement"&gt;where&lt;/SPAN&gt; subs_id &lt;SPAN class="token operator"&gt;in&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token statement"&gt;select&lt;/SPAN&gt; subs_id &lt;SPAN class="token keyword"&gt;from&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;&amp;amp;&lt;/SPAN&gt;OUTTABLE&lt;SPAN class="token punctuation"&gt;.&lt;/SPAN&gt;Tn_1&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Jan 2018 14:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/431611#M106790</guid>
      <dc:creator>kiranv_</dc:creator>
      <dc:date>2018-01-28T14:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432067#M106936</link>
      <description>&lt;P&gt;Thanks for replay...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting the input from upper node (Price Plan) and&amp;nbsp;after that need to exclude those subscriber who doesn't want the campaign and SMS and as well as exclude those subs who already have one marketing benefit offer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 06:08:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432067#M106936</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-30T06:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432069#M106938</link>
      <description>&lt;P&gt;You answered only to&amp;nbsp;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE&gt;- describe what the code should do&lt;/PRE&gt;
&lt;P&gt;You have not supplied enough information to help you.&lt;/P&gt;
&lt;P&gt;See my previous post.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 06:41:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432069#M106938</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-01-30T06:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432071#M106940</link>
      <description>&lt;P&gt;&lt;STRONG&gt;1: Table mkt.afa_subs_campaign:&lt;/STRONG&gt; has the records of all subs who is eligible for marketing campaign (Low Call Rate / Bonus On Recharge), before the eligible subs opt-in for the offer the UIP server check this table either is eligible of not !&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;2: Table BICRMMA.SMS_OPT_OUT:&lt;/STRONG&gt; has the records of subs they requested to not send us SMS or Offer notification.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;3: My input (&amp;amp;INTABLE):&lt;/STRONG&gt; is subs that activated their MSISDN since last year and since last 3 weeks they did not recharged or top-up and their state is one-way-block (my input from upper node in SAS Customer Intelligence Studio)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;4: My Desire out is (&amp;amp;OUTTABLE):&lt;/STRONG&gt; the remaining records (&amp;amp;INTABLE) after deletion of&amp;nbsp; records of mkt.afa_subs_campaign &amp;amp; bicrmma.sms_opt_out from &amp;amp;INTABLE;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue is that&amp;nbsp;every steps in the macro works fine and no error and warning indication in log file but did not pars the information from process node to temporary cell node or did not show the count on the process node.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached log file as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 07:02:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432071#M106940</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-30T07:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432073#M106941</link>
      <description>&lt;P&gt;Thanks for the replay,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes has the right to delete and it successfully deletes.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 06:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432073#M106941</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-30T06:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432075#M106942</link>
      <description>&lt;P&gt;I'm looking at the log (searching fr 'tn_') and found next notes:&lt;/P&gt;
&lt;PRE&gt;NOTE: Table MATABLES.TPI2MPVEQ2KUEMAAPSASDEMOTN_1 created, with 1 rows and 1 columns.
.......
NOTE: Table MATABLES.TPI2MPVEQ2KUEMAAPSASDEMOTN_2 created, with 1 rows and 1 columns.
.......
NOTE: Table MATABLES.TPI2MPVEQ2KUEMAAPSASDEMOTN_3 created, with 4 rows and 1 columns.
.......
MPRINT(S_MERGE):   delete from MATables.TPI2MPVEQ2KUEMAAPsasdemoTn_3 where subs_id in (select subs_id from MATables.TPI2MPVEQ2KUEMAAPsasdemoTn_1);
NOTE: 1 row was deleted from MATABLES.TPI2MPVEQ2KUEMAAPSASDEMOTN_3.
.......
MPRINT(S_MERGE):   delete from MATables.TPI2MPVEQ2KUEMAAPsasdemoTn_3 where subs_id in (select subs_id from MATables.TPI2MPVEQ2KUEMAAPsasdemoTn_2);
NOTE: 1 row was deleted from MATABLES.TPI2MPVEQ2KUEMAAPSASDEMOTN_3.
........
MPRINT(S_MERGE):   create table MATables.TPI2MPVEQ2KUEMAAPsasdemo as select a.subs_id as subs_id from MATables.TPI2MPVEQ2KUE0AAQsasdemo b, MATables.TPI2MPVEQ2KUEMAAPsasdemoTn_3 a where a.subs_id=b.subs_id;
NOTE: Table MATABLES.TPI2MPVEQ2KUEMAAPSASDEMO created, with 2 rows and 1 columns.
........
SQLOBS3=2&lt;/PRE&gt;
&lt;P&gt;Am I right -&amp;nbsp; your &lt;STRONG&gt;final output&amp;nbsp;has 2 observations.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Where is the problem ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What is your desired output ?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 07:28:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432075#M106942</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-01-30T07:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432077#M106944</link>
      <description>&lt;P&gt;What part of your code/log did not work as desired ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 07:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432077#M106944</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-01-30T07:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432081#M106947</link>
      <description>Can't see any step outputting &amp;amp;OUTTABLE. Have you tested the code in base or EG before you created the stored process?</description>
      <pubDate>Tue, 30 Jan 2018 07:39:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432081#M106947</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2018-01-30T07:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432098#M106958</link>
      <description>&lt;P&gt;Thanks for your replay Mr. Shmuel,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes i expect the same to have 2 records and the last table created with two, &lt;STRONG&gt;but&lt;/STRONG&gt; in the &lt;STRONG&gt;SAS Customer Intelligence Studio&lt;/STRONG&gt;&amp;nbsp;interface the node after process and process node both are zero _null_&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql noprint;
drop table &amp;amp;outtable;
create table &amp;amp;outtable as
select a.subs_id as subs_id from &amp;amp;INTABLE b, &amp;amp;OUTTABLE.Tn_3 a where a.subs_id=b.subs_id;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it create the table but did&amp;nbsp;parse the subs_id to lower node in&amp;nbsp;interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Parse the data.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18182i163AC4CEC691DBF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Parse the data.png" alt="Parse the data.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 08:13:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432098#M106958</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-30T08:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432100#M106959</link>
      <description>I'm not familiar with SAS Customer Intelligence Studio and have no knowledge of its installation connections.&lt;BR /&gt;&lt;BR /&gt;I hope someone else will help you with next step.</description>
      <pubDate>Tue, 30 Jan 2018 08:30:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432100#M106959</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-01-30T08:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432128#M106977</link>
      <description>it works fine but did not parse the information in the SAS CI</description>
      <pubDate>Tue, 30 Jan 2018 09:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432128#M106977</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-30T09:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Output store procedure</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432165#M106994</link>
      <description>proc sql noprint;&lt;BR /&gt;drop table &amp;amp;outtable;&lt;BR /&gt;create table &amp;amp;outtable as&lt;BR /&gt;select a.subs_id as subs_id from &amp;amp;INTABLE b, &amp;amp;OUTTABLE.Tn_3 a where a.subs_id=b.subs_id;&lt;BR /&gt;quit;</description>
      <pubDate>Tue, 30 Jan 2018 12:53:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-store-procedure/m-p/432165#M106994</guid>
      <dc:creator>ebad_shakeeb</dc:creator>
      <dc:date>2018-01-30T12:53:03Z</dc:date>
    </item>
  </channel>
</rss>

