<?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>yoanbolduc Tracker</title>
    <link>https://communities.sas.com/kntur85557/tracker</link>
    <description>yoanbolduc Tracker</description>
    <pubDate>Sun, 10 May 2026 14:30:04 GMT</pubDate>
    <dc:date>2026-05-10T14:30:04Z</dc:date>
    <item>
      <title>Re: Repeat value set to blank</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Repeat-value-set-to-blank/m-p/104526#M21810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SASPhile,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=inputds out=sortedds;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by id acct1;&lt;/P&gt;&lt;P&gt;data outputds;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set sortedds;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lag_acct1 = lag(acct1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ^first.id then&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if acct1 = lag_acct1 then acct1 = .;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop lag_acct1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you do the same for acct2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the acct1 and acct2 pair doesn't matter, you could simply produce 2 output datasets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 21:03:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Repeat-value-set-to-blank/m-p/104526#M21810</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T21:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: lag function issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lag-function-issue/m-p/104629#M21840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You did it right, but apparently this approach doesn't work in all cases. The test I had done was simpler. I just looked for a different approach but Astounding did beat me with a better solution for your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the case you needed to use the input statement instead of set, here is what I came up with (which is not as elegant as the solution proposed by Astounding).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data work.toto;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input value;&lt;/P&gt;&lt;P&gt;&amp;nbsp; retain lag_value;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if missing(value) then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp; value = lag_value+1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; end;&lt;/P&gt;&lt;P&gt;&amp;nbsp; lag_value = value;&lt;/P&gt;&lt;P&gt;datalines;;;&lt;/P&gt;&lt;P&gt;0&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;6&lt;/P&gt;&lt;P&gt;8&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;;;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically I reproduced the functionnality of the lag function using a retain statement. This one does work with input but is not very elegant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 20:25:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lag-function-issue/m-p/104629#M21840</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T20:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with coding/syntax In SAS Enterprise Guide, more details inside.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-with-coding-syntax-In-SAS-Enterprise-Guide-more/m-p/104373#M9105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SEG,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think we would need a little more details about where you execute your code. If you are executing it on a Workspace server, your SAS administrator should be able to activate logging on that workspace server so that your session activity is logged on the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Other than that, any Base SAS code that you write should run without problem. You simply have to make sure that you include it in a "Code node". There is one exception it's what we call X commands and this is what you are trying to do in the code you copied in your post. X Commands have to be allowed for the Workspace server that you are working on for any calls to the system function or the X statement to work. Your administrator will most probably object to change this setting so you may have so arguing to do to convince him that it is required to make your program work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are NOT working on a workspace server, which means you are running your code locally and using EG to submit SAS to a local SAS installation. Then any Base SAS code should run fine in a code node.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the log part, I am sorry I don't have enough experience using EG on a daily basis to help you with that aspect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 20:13:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Need-help-with-coding-syntax-In-SAS-Enterprise-Guide-more/m-p/104373#M9105</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T20:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: lag function issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/lag-function-issue/m-p/104625#M21836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AllSoEasy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I might be wrong but my understanding of how lag works is that the value for the next iteration is established when you call the lag function in the current iteration. So what is means in practice is that when you do "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;lag_flat_rate = lag(Flat_Rate);&lt;/SPAN&gt;" at your second observation, the current value of "Flat_Rate" is put in the buffer, that is missing. So even if the value of "Flat_Rate" is changed later in the current iteration, that buffer used by the lag function is not updated. Adding a second "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;lag_flat_rate = lag(Flat_Rate);&lt;/SPAN&gt;" after the value has been updated will give you the result you expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps you.&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 20:02:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/lag-function-issue/m-p/104625#M21836</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T20:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to best install SAS products with these hardware specs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-best-install-SAS-products-with-these-hardware-specs/m-p/99424#M868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jared,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I understand the situation with your IT dept. Keep in mind, Linux is not only for server applications, it can be used as a desktop operating system too and a very great one actually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OS and Apps don't require that much I/O so this is not where I would invest the most. A good 512 GB SSD will outperform any 2 drive RAID 0 setup in any application. You need at least 4 HD in RAID 0 to match a good 512 GB SSD. A good rule of thumb is: SSD for speed, HD for volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Going RAID 1 for storage is very good for data security. But you will get poor write performance and very low capacity compared to a comparable RAID 5 setup. The only issue with RAID 5 is that you will need AT LEAST 3 disks. Also, RAID 5 does not take random IO as well as RAID 1 or RAID 0 but with SAS you'll get mostly sequentiel IO so you don't have to worry about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Here is something to think about (please keep in mind that this is oversimplified): you have 16 cores, so you should aim for 800 MB/s of IO throughput. This is a lot but your SSD should give you close to 500 MB/s and it is safe to expect 170-200 MB/s from a 3 disk RAID 5 with a good controller. So if you plan your workload correctly, you should be able to keep this CPU busy! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-best-install-SAS-products-with-these-hardware-specs/m-p/99424#M868</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Auto exec</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Regarding-Auto-exec/m-p/82014#M567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you are in a server environment with a metadata server you can define multiple Workspace server, each with it own sasv9.cfg and autoexec.sas file. Using metadata security you'll be able to restrict access to each of those workspace server to specific groups or users (departments and individuals).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is the most efficient approach I found to support departments with different configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:26:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Regarding-Auto-exec/m-p/82014#M567</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T18:26:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table Lock</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89253#M722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ksuman,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As everybody mentionned, this is very typical of a multi-user SAS environment. The idea that Tom proposed of using a database engine would probably be the best approach. The Base SAS engine is a very poor choice for multi-user environment as it relies on the operating system file locking mechanism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you want to keep using the Base SAS engine, you can use the fuser command on any UNIX-like operating system to list active locks on a file. It is easy to build a small script that will kill the locking processes but this is a very drastic approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps a little,&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:22:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Table-Lock/m-p/89253#M722</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T18:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to best install SAS products with these hardware specs</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-best-install-SAS-products-with-these-hardware-specs/m-p/99422#M866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jared,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Looked at the setup you are proposing. I am a little puzzled by your hardware decisions. I find this to be a pretty "big" machine to still use a client version of Windows or even Windows at all. I see you want to use Visual Studio so this is probably the reason why you opted for Windows. If you are flexible on the operating system choice, I would recommend installing Linux instead of Windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For your disk system, have you considered using a RAID 5 made of maybe 4 or 5 of thos 1 TB 10 KRPM disks? You'll get data protection and increase IOPS. You have to keep in mind that SAS usually requires about 50-75 MB/s of I/O per CPU core to ensure all CPU cores are "busy". As for your other disks, having 2 SSDs (one for OS/Apps and one for work) would be the best. If you don't want to purchase 2 SSDs, I would put the OS and Apps on a HD and SASWORK on the SSD. Yes, your SSD's lifespan will be much shorter but the performance gain you'll observe are definitely worth it. Also, as you seam to understand, SAS does mostly sequential I/O so this help "save" your SSD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Read-Ahead and Write-Behind is useful. But multi-pathing only applies if you are using a SAN which does not seams to be your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For the procs, I'm not sure what the answer is. I rarely see people using the desktop version of SAS anymore so I can hardly tell, best thing would be to check with your sales rep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps a little.&lt;/P&gt;&lt;P&gt;Yoan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:11:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-best-install-SAS-products-with-these-hardware-specs/m-p/99422#M866</guid>
      <dc:creator>yoanbolduc</dc:creator>
      <dc:date>2013-06-12T18:11:11Z</dc:date>
    </item>
  </channel>
</rss>

