<?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 Filter data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Filter-data/m-p/840482#M332323</link>
    <description>&lt;P&gt;I´m using SAs Viya with SASstudio.&lt;/P&gt;&lt;P&gt;This code was running in SAS 9.4 base, but not working in sas studio.&lt;/P&gt;&lt;PRE&gt;/*SE GENERAN LOS MODELOS Y SE PRODUCEN LAS REGRESIONES*/&lt;BR /&gt;	/*MODELO 1*/&lt;BR /&gt;	data modelo1 (keep=iden s log_g log_n e1 /*aa1 aa2 aa3*/ f1 f2 m q t);&lt;BR /&gt;	set viajesegatur;&lt;BR /&gt;		/*Selecciona el modelo que vamos a estudiar*/&lt;BR /&gt;		if modelo=1;&lt;BR /&gt;		/*Que no sea un outlier*/&lt;BR /&gt;		if AloOut=0;&lt;BR /&gt;		/*Que sea un gasto &amp;gt;0 y vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡lido*/&lt;BR /&gt;		if galo_etapa&amp;gt;0 and val_galoj_etapa=0 and es_paq_aloj ne 1;&lt;BR /&gt;		/*Que no sea outlier de pernoctaciones y */&lt;BR /&gt;		if PernoctOut ne 1;&lt;BR /&gt;		/*Que la vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­a de entrada sea igual a la salida */&lt;BR /&gt;		LOG_G=log(galo_etapa);&lt;BR /&gt;		LOG_N=log(noches_etapa);&lt;BR /&gt;		LOG_D=log(distancia);&lt;BR /&gt;	run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2022 10:22:40 GMT</pubDate>
    <dc:creator>DavidToco</dc:creator>
    <dc:date>2022-10-25T10:22:40Z</dc:date>
    <item>
      <title>Filter data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filter-data/m-p/840482#M332323</link>
      <description>&lt;P&gt;I´m using SAs Viya with SASstudio.&lt;/P&gt;&lt;P&gt;This code was running in SAS 9.4 base, but not working in sas studio.&lt;/P&gt;&lt;PRE&gt;/*SE GENERAN LOS MODELOS Y SE PRODUCEN LAS REGRESIONES*/&lt;BR /&gt;	/*MODELO 1*/&lt;BR /&gt;	data modelo1 (keep=iden s log_g log_n e1 /*aa1 aa2 aa3*/ f1 f2 m q t);&lt;BR /&gt;	set viajesegatur;&lt;BR /&gt;		/*Selecciona el modelo que vamos a estudiar*/&lt;BR /&gt;		if modelo=1;&lt;BR /&gt;		/*Que no sea un outlier*/&lt;BR /&gt;		if AloOut=0;&lt;BR /&gt;		/*Que sea un gasto &amp;gt;0 y vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¡lido*/&lt;BR /&gt;		if galo_etapa&amp;gt;0 and val_galoj_etapa=0 and es_paq_aloj ne 1;&lt;BR /&gt;		/*Que no sea outlier de pernoctaciones y */&lt;BR /&gt;		if PernoctOut ne 1;&lt;BR /&gt;		/*Que la vÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â­a de entrada sea igual a la salida */&lt;BR /&gt;		LOG_G=log(galo_etapa);&lt;BR /&gt;		LOG_N=log(noches_etapa);&lt;BR /&gt;		LOG_D=log(distancia);&lt;BR /&gt;	run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 10:22:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filter-data/m-p/840482#M332323</guid>
      <dc:creator>DavidToco</dc:creator>
      <dc:date>2022-10-25T10:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Filter-data/m-p/840483#M332324</link>
      <description>&lt;P&gt;There are some gotcha's involved when running a datastep in Viya. You can refer to&lt;A href="https://blogs.sas.com/content/sgf/2021/10/08/cas-action-executing-the-sas-data-step-in-sas-viya/" target="_self"&gt; this blog post&lt;/A&gt; for some pointers. Otherwise please share more details and the log of what is not working. Merely stating that does not give many clues as to what might go wrong.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards Jan,&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2022 10:48:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Filter-data/m-p/840483#M332324</guid>
      <dc:creator>jklaverstijn</dc:creator>
      <dc:date>2022-10-25T10:48:30Z</dc:date>
    </item>
  </channel>
</rss>

