<?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: Coding Help [how to improve your question] in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523988#M4730</link>
    <description>&lt;P&gt;hello Shmuel.&lt;/P&gt;&lt;P&gt;thanks for replying&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got your solution but my point as follows:&lt;/P&gt;&lt;P&gt;i wanna regress this model ( total accruals = Delta cash -&amp;nbsp; D_current assets&amp;nbsp; - D_ current liabilties )&amp;nbsp;&lt;/P&gt;&lt;P&gt;Delta means the difference between cash of last year and cash of current year.&lt;/P&gt;&lt;P&gt;so how can i manipulate Delta value by sas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you again&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jan 2019 09:28:17 GMT</pubDate>
    <dc:creator>Radwan</dc:creator>
    <dc:date>2019-01-01T09:28:17Z</dc:date>
    <item>
      <title>Coding Help</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523917#M4712</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;please i m a new PHD student i just learned how to use SAS for analyzing my data, but here i could not calculate the delta for my variables. so i need the code for that.&lt;/P&gt;&lt;P&gt;i wanna calculate Total accruals which must be calculated by delta equation.&lt;/P&gt;&lt;P&gt;i need to learn how to calculate it&lt;/P&gt;&lt;P&gt;someone help me.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 09:37:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523917#M4712</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2018-12-31T09:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523924#M4714</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252600"&gt;@Radwan&lt;/a&gt;,&lt;/P&gt;&lt;BR /&gt; &lt;P&gt;Your question requires more details before experts can help.&amp;nbsp;Can you revise your question to include more information?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Review this checklist:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Specify a meaningful subject line for your topic.&amp;nbsp; Avoid generic subjects like "need help," "SAS query," or "urgent."&lt;/LI&gt;
&lt;LI&gt;When appropriate, provide sample data in text or DATA step format.&amp;nbsp; See &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;this article for one method&lt;/A&gt;&amp;nbsp;you can use.&lt;/LI&gt;
&lt;LI&gt;If you're encountering an error in SAS, include the SAS log or a screenshot of the error condition.&amp;nbsp;Use the&amp;nbsp;&lt;STRONG&gt;Photos&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;button to include the image in your message.&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 279px;"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/16608i91A52F817EAC9A69/image-dimensions/279x150?v=1.0" width="279" height="150" alt="use_buttons.png" title="use_buttons.png" /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;It also helps to include an example (table or picture) of the result that you're trying to achieve.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;To edit your original message, select the "blue gear" icon at the top of the message and select&amp;nbsp;&lt;STRONG&gt;Edit Message&lt;/STRONG&gt;.&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;From there you can adjust the title and add more details to the body of the message.&amp;nbsp; Or, simply reply to this message with any additional information you can supply.&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" style="width: 229px;"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/16605iAC020BC79315B045/image-size/large?v=1.0&amp;amp;px=600" alt="edit_post.png" title="edit_post.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SAS experts are eager to help -- help&amp;nbsp;&lt;EM&gt;them&lt;/EM&gt; by providing as much detail as you can.&lt;/P&gt; &lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-style:italic;font-size:smaller;"&gt;This prewritten response was triggered for you by fellow SAS Support Communities member &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&lt;/SPAN&gt;&lt;/P&gt;.</description>
      <pubDate>Mon, 31 Dec 2018 12:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523924#M4714</guid>
      <dc:creator>Community_Guide</dc:creator>
      <dc:date>2018-12-31T12:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523926#M4715</link>
      <description>&lt;P&gt;thanks for concerning&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually my issue is that i do not know how to calculate the delta for my variables, to be honest , i m a novice in SAS program. in meantime I am a PHD student. I m doing my research in earning management.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i already set my variables and imported the data to SAS, but i do not How to run Delta function unfortunately.&lt;/P&gt;&lt;P&gt;so i need general code of Delta function then i will simulate my analysis.&lt;/P&gt;&lt;P&gt;so why i did not make my inquiry clear.&lt;/P&gt;&lt;P&gt;sorry&amp;nbsp;&lt;/P&gt;&lt;P&gt;i hope i can find my lost here.&lt;/P&gt;&lt;P&gt;i tried by youtube but no one explains this code except by stata program.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 14:02:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523926#M4715</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2018-12-31T14:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523933#M4718</link>
      <description>&lt;P&gt;Assuming you have the variables X and Y in the same dataset.&lt;/P&gt;
&lt;P&gt;You can define new variable DELTA by:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;delta= x - y;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now assume you have two datasets, same format and same variable names (e.g. X),&lt;/P&gt;
&lt;P&gt;then:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=table1; by date id; run;
proc sort data=table2; by date id; run;

data diff;
 merge table1(in=in1 rename=(x=x1))
            table2(in=in2 rename=(x=x2))
  ;
    by date id;
         delta = x1 - x2;
run;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;as you see, you need to clarify what is the format of your datasets, what are the variables names,&lt;/P&gt;
&lt;P&gt;what do you mean by delta (is it just subtraction or is it more complicated mathematics),&lt;/P&gt;
&lt;P&gt;in case of more than one dataset - what variables should be in what formula, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In some cases using merge is not enough and it involves summary and/or cartesian calculation&lt;/P&gt;
&lt;P&gt;done better by proc SQL.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Dec 2018 15:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523933#M4718</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2018-12-31T15:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523976#M4727</link>
      <description>&lt;P&gt;Is 'delta function' the difference or something else you're referring to? I'm sure your terminology is clear to you, but please re-read your &amp;nbsp;question and think how someone who knows absolutely nothing about you or your problem would interpret it. At this point there's no clear idea of what you're trying to do, what you can do or even what you're starting with. Have you already imported your data into SAS?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so, and you're new to programming I recommend stating with SAS Studio and using the Tasks to do your calculations. There's videos on video.sas.com and free courses for learning, either on Coursera, SAS E-courses or many many tutorials online on various sites. I recommend UCLA in general for their specific tasks.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Good Luck.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252600"&gt;@Radwan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;thanks for concerning&amp;nbsp;&lt;/P&gt;
&lt;P&gt;actually my issue is that i do not know how to calculate the delta for my variables, to be honest , i m a novice in SAS program. in meantime I am a PHD student. I m doing my research in earning management.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i already set my variables and imported the data to SAS, but i do not How to run Delta function unfortunately.&lt;/P&gt;
&lt;P&gt;so i need general code of Delta function then i will simulate my analysis.&lt;/P&gt;
&lt;P&gt;so why i did not make my inquiry clear.&lt;/P&gt;
&lt;P&gt;sorry&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i hope i can find my lost here.&lt;/P&gt;
&lt;P&gt;i tried by youtube but no one explains this code except by stata program.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 00:19:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523976#M4727</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-01T00:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523988#M4730</link>
      <description>&lt;P&gt;hello Shmuel.&lt;/P&gt;&lt;P&gt;thanks for replying&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i got your solution but my point as follows:&lt;/P&gt;&lt;P&gt;i wanna regress this model ( total accruals = Delta cash -&amp;nbsp; D_current assets&amp;nbsp; - D_ current liabilties )&amp;nbsp;&lt;/P&gt;&lt;P&gt;Delta means the difference between cash of last year and cash of current year.&lt;/P&gt;&lt;P&gt;so how can i manipulate Delta value by sas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you again&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 09:28:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523988#M4730</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-01T09:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523998#M4731</link>
      <description>&lt;P&gt;More clarification is needed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Doe's current data and last year data present in the same dataset or are they in two datasets ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) A SAS variable name is limited by length (32), should start with an alphabetic letter and may include&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; letters, numbers, '_'&amp;nbsp; (blanks are forbidden).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) I'm not expert with regression. Someone else, in the forum, will propose you the preferred method.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) Please post your datasets names and their variable names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Just run PROC CONTENTS on each relevant dataset and post the result:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc contents data=&amp;lt;libname&amp;gt;.&amp;lt;dataset name&amp;gt;; run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;5) What SAS platform do you use? Is it on unix or windows? Is it SAS University Edition, SAS Studio?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Is it on MF or PC?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jan 2019 15:15:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/523998#M4731</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-01-01T15:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524020#M4734</link>
      <description>&lt;P&gt;Post sample data showing what you have, exactly, what you want, exactly and the logic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you cannot post real data, make fake data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vague questions = vague answers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is if you want any help with coding and how to actually do this with your data. Otherwise the responses will continue to be along the type you've received so far.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In addition, I highly recommend you read this page:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/help/how-to-ask" target="_blank"&gt;https://stackoverflow.com/help/how-to-ask&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/help/mcve" target="_blank"&gt;https://stackoverflow.com/help/mcve&lt;/A&gt;&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;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252600"&gt;@Radwan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;hello Shmuel.&lt;/P&gt;
&lt;P&gt;thanks for replying&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i got your solution but my point as follows:&lt;/P&gt;
&lt;P&gt;i wanna regress this model ( total accruals = Delta cash -&amp;nbsp; D_current assets&amp;nbsp; - D_ current liabilties )&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Delta means the difference between cash of last year and cash of current year.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;so how can i manipulate Delta value by sas?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you again&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 00:46:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524020#M4734</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-02T00:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524031#M4738</link>
      <description>&lt;P&gt;thanks dear Shmuel.&lt;/P&gt;&lt;P&gt;yes the last year data in same dataset. other words i have a year variable which is for 18 years so i need to calculate the delta in same dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i just attached a pic coz my sas does not support saving in txt intension.&lt;/P&gt;&lt;P&gt;please look at&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25932i3460A3C4450A39C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 06:43:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524031#M4738</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-02T06:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524032#M4739</link>
      <description>&lt;P&gt;absolutely you are right, but the issue is that i still do not have that experience till i can express my problem well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please i posted the description of my data above&amp;nbsp;&lt;/P&gt;&lt;P&gt;i hope you can find out the error in my data setting&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 06:39:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524032#M4739</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-02T06:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524045#M4740</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252600"&gt;@Radwan&lt;/a&gt;, you wrote the next formula:&lt;/P&gt;
&lt;PRE&gt; total accruals = Delta cash -  D_current assets  - D_ current liabilties &lt;/PRE&gt;
&lt;P&gt;but your variables are: &lt;STRONG&gt;dcl, inv, leverage, ppe, rec, tca, tcl, total_asset, year, _cash, code&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) Can you write the same formula using the variable names instead the documentary you used ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) You wrote:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Delta means the difference between cash of last year and cash of current year.&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; am I correct that you need to meet data from &lt;STRONG&gt;two different observations&lt;/STRONG&gt; - one of the current and the other of previous year,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; while the file contains data of 18 years ? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; How would you define CURRENT YEAR ? Are you running the program on December or on January ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Or maybe you prefer to supply the two years as two parameters to the program ? (year_1, year_2)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; (that will enable you to compare any period between any two years).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Post your formula adding suffix (1) or (2) to the variables names, to represent data of year1 or of year2 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3) Can you post a sample of your data - 3 observations may be enough - by:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=&amp;lt;libname&amp;gt;.&amp;lt;dataset name&amp;gt; (obs=3);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; that will clarify your data formats.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Copy the report into&lt;STRONG&gt; {i}&lt;/STRONG&gt; window.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4) I'll be not available for few next weeks. I hope that your answer will be good enough to help the forum&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; and make it available to continue to guide you up to the solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; I believe that getting a base SAS course (online or in a class) may help you much.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 09:43:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524045#M4740</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-01-02T09:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524048#M4741</link>
      <description>&lt;P&gt;Hi Shmuel&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me make it a bit clear&amp;nbsp;&lt;/P&gt;&lt;P&gt;1- my formula by using my variables name as follows:&lt;/P&gt;&lt;PRE&gt; total accruals = D_ _cash -  D_TCA  - D_ TCA&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D_ means Delta.&lt;/P&gt;&lt;P&gt;&amp;nbsp;2-&amp;nbsp; As for the delta ( the difference between last and current year), i need to calculate as follows( 2001-2000) (2002-2001) ......(2017-2016). in meantime this result must be as a new variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;3- i m gonna attach the three obs as you mentioned&amp;nbsp;&lt;/P&gt;&lt;P&gt;4- i wish you all the best in your absence.&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25936iE277DB840D23D5A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 10:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524048#M4741</guid>
      <dc:creator>Radwan</dc:creator>
      <dc:date>2019-01-02T10:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524081#M4745</link>
      <description>&lt;P&gt;Just short guide - check next link&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect001.htm" target="_self"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_reg_sect001.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or google search for more documentation and guides "&lt;STRONG&gt;sas documentation for proc reg&lt;/STRONG&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2019 13:34:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524081#M4745</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2019-01-02T13:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Coding Help [how to improve your question]</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524198#M4761</link>
      <description>&lt;P&gt;Yes it does, add the statement below or go change your result settings. Exactly where depends on if you're using SAS Studio or a full installation of SAS.&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
ods listing;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can also paste the HTML directly in, instead of using images.&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/252600"&gt;@Radwan&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i just attached a pic coz my sas does not support saving in txt intension.&lt;/P&gt;
&lt;P&gt;please look at&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/25932i3460A3C4450A39C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2019 01:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Coding-Help/m-p/524198#M4761</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-01-03T01:30:46Z</dc:date>
    </item>
  </channel>
</rss>

