<?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: combining variables in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915610#M1696</link>
    <description>&lt;P&gt;The log here shows that you ran PROC FORMAT successfully.&amp;nbsp; Having done that, the next step would be to actually apply the format you have created.&amp;nbsp; For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=work.tedsa_puf_2021;
   tables sub1 * gender;
   format sub1 $mycat.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Try that, and see if it starts to make sense.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 16:16:52 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2024-02-12T16:16:52Z</dc:date>
    <item>
      <title>combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915382#M1681</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am struggling to combine values within the SUB1 variable. I want to combine alcohol, barbiturates and tranquilizers. into a new variable. I'm using SAS on Demand&lt;/P&gt;&lt;P&gt;Thank you&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="Jacob6_0-1707539693681.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93514iCBE820168C36A1F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_0-1707539693681.png" alt="Jacob6_0-1707539693681.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacob6_1-1707539749897.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93515i516B32B2129842B7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_1-1707539749897.png" alt="Jacob6_1-1707539749897.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacob6_2-1707539847082.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93516i87F715DA8F557AA2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_2-1707539847082.png" alt="Jacob6_2-1707539847082.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 04:40:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915382#M1681</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-10T04:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915383#M1682</link>
      <description>Here's an approach that assumes SUB1 is a character variable. If that's not the case, we'll need more details about what is actually in your data.&lt;BR /&gt;&lt;BR /&gt;Don't change the data. Instead, create a format that tells PROC FREQ how to combine categories. For example you might code:&lt;BR /&gt;proc format;&lt;BR /&gt;value $mycat "Alcohol", "Barbiturates", "Other Tranquilizers" = "Combined ABT" :&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;Type in the full list of any values that should be combined. Call the combined category anything you would like. "Combined ABT" is just an arbitrary name that i invented.&lt;BR /&gt;&lt;BR /&gt;Spelling is crucial. Capitalization is crucial.&lt;BR /&gt;&lt;BR /&gt;Once this is ready, group the data by adding the following statement after each TABLE statement:&lt;BR /&gt;&lt;BR /&gt;format sub1 $mycat ;</description>
      <pubDate>Sat, 10 Feb 2024 08:56:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915383#M1682</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2024-02-10T08:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915390#M1683</link>
      <description>&lt;P&gt;The suggestion from &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt; is the best path forward here. Excellent advice.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 11:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915390#M1683</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-02-10T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915407#M1684</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacob6_0-1707589724551.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93521i5D27F1CCFEF27D69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_0-1707589724551.png" alt="Jacob6_0-1707589724551.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got this error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacob6_1-1707589839007.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93522i8FF7C60B7FBB91AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_1-1707589839007.png" alt="Jacob6_1-1707589839007.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is my data set&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 18:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915407#M1684</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-10T18:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915408#M1685</link>
      <description>&lt;P&gt;You cannot put PART of a VALUE statement from PROC FORMAT into the middle of DATA step.&amp;nbsp; And even worse into the middle of the DATA statement of that step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have to run the whole PROC FORMAT step separately from the DATA step or the PROC FREQ step.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 19:14:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915408#M1685</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-10T19:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915464#M1688</link>
      <description>&lt;P&gt;May i have an example of this please?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 19:39:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915464#M1688</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-11T19:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915467#M1689</link>
      <description>&lt;P&gt;Run the code as provided by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&amp;nbsp;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc format;
  value $mycat 
  "Alcohol", "Barbiturates", "Other Tranquilizers" = "Combined ABT" ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 11 Feb 2024 20:56:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915467#M1689</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2024-02-11T20:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915486#M1690</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacob6_0-1707692241802.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93538i79063405B416AB74/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_0-1707692241802.png" alt="Jacob6_0-1707692241802.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so the log has no errors but the results are unchanged.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 22:59:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915486#M1690</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-11T22:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915488#M1691</link>
      <description>&lt;P&gt;The first post by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&amp;nbsp;explains that you have to modify PROC FREQ and gives the specific command to do so.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Feb 2024 23:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915488#M1691</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-02-11T23:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915503#M1692</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jacob6_0-1707714335134.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93541i6AD30A7315FE0E9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jacob6_0-1707714335134.png" alt="Jacob6_0-1707714335134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The log ran with no errors. But the results did not change.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 05:06:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915503#M1692</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-12T05:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915532#M1693</link>
      <description>&lt;P&gt;Show us the PROC FREQ code and log, with the modifications that you made to PROC FREQ based on the post by &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4954"&gt;@Astounding&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 10:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915532#M1693</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2024-02-12T10:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915570#M1694</link>
      <description>&lt;P&gt;And do yourself a favor and post the complete log&amp;nbsp;&lt;U&gt;text&lt;/U&gt; by copy/pasting it into a window opened with this button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54552i914D97BE1B0F21E5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" alt="Bildschirmfoto 2020-04-07 um 08.32.59.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You are not restricted by screen size, it's much quicker than preparing and uploading a screenshot, and it allows us to annotate it and extract code pieces for testing.&lt;/P&gt;
&lt;P&gt;The "little running man" to the right is for SAS code, it mimics the coloring of the SAS Enhanced Editor.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 14:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915570#M1694</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-12T14:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915610#M1696</link>
      <description>&lt;P&gt;The log here shows that you ran PROC FORMAT successfully.&amp;nbsp; Having done that, the next step would be to actually apply the format you have created.&amp;nbsp; For example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=work.tedsa_puf_2021;
   tables sub1 * gender;
   format sub1 $mycat.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Try that, and see if it starts to make sense.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 16:16:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915610#M1696</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2024-02-12T16:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915659#M1697</link>
      <description>&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         proc cimport
 70         
 71            infile="/home/u63544247/curiosity cup/TEDS_A_2021-data-sas.stc" lib=WORK;
 72         
 73         run;
 
 NOTE: PROC CIMPORT begins to create/update catalog WORK.FORMATS
 NOTE: Entry ADMYR.FORMAT has been imported.
 NOTE: Entry AGE.FORMAT has been imported.
 NOTE: Entry ALCD.FORMAT has been imported.
 NOTE: Entry ARRESTS.FORMAT has been imported.
 NOTE: Entry CBSA.FORMAT has been imported.
 NOTE: Entry DAYWAIT.FORMAT has been imported.
 NOTE: Entry DETCRIM.FORMAT has been imported.
 NOTE: Entry DETNLF.FORMAT has been imported.
 NOTE: Entry DIVISION.FORMAT has been imported.
 NOTE: Entry DSMCRIT.FORMAT has been imported.
 NOTE: Entry EDUC.FORMAT has been imported.
 NOTE: Entry EMPLOY.FORMAT has been imported.
 NOTE: Entry ETH.FORMAT has been imported.
 NOTE: Entry FLAG.FORMAT has been imported.
 NOTE: Entry FREQ.FORMAT has been imported.
 NOTE: Entry FRSTUSE.FORMAT has been imported.
 NOTE: Entry GENDER.FORMAT has been imported.
 NOTE: Entry HLTHINS.FORMAT has been imported.
 NOTE: Entry IDU.FORMAT has been imported.
 NOTE: Entry LIVARAG.FORMAT has been imported.
 NOTE: Entry MARSTAT.FORMAT has been imported.
 NOTE: Entry METHUSE.FORMAT has been imported.
 NOTE: Entry NOPRIOR.FORMAT has been imported.
 NOTE: Entry PREG.FORMAT has been imported.
 NOTE: Entry PRIMINC.FORMAT has been imported.
 NOTE: Entry PRIMPAY.FORMAT has been imported.
 NOTE: Entry PSOURCE.FORMAT has been imported.
 NOTE: Entry PSYPROB.FORMAT has been imported.
 NOTE: Entry RACE.FORMAT has been imported.
 NOTE: Entry REGION.FORMAT has been imported.
 NOTE: Entry ROUTE.FORMAT has been imported.
 NOTE: Entry SELFHELP.FORMAT has been imported.
 NOTE: Entry SERVSETA.FORMAT has been imported.
 NOTE: Entry STFIPS.FORMAT has been imported.
 NOTE: Entry SUB.FORMAT has been imported.
 NOTE: Entry VET.FORMAT has been imported.
 NOTE: Total number of entries processed in catalog WORK.FORMATS: 36
 
 NOTE: PROC CIMPORT begins to create/update data set WORK.TEDSA_PUF_2021
 NOTE: Data set contains 62 variables and 1482543 observations. 
       Logical record length is 496
 
 NOTE: Compressing data set WORK.TEDSA_PUF_2021 decreased size by 60.42 percent. 
       Compressed is 2223 pages; un-compressed would require 5616 pages.
 NOTE: PROCEDURE CIMPORT used (Total process time):
       real time           6.69 seconds
       user cpu time       6.46 seconds
       system cpu time     0.23 seconds
       memory              2467.43k
       OS Memory           22692.00k
       Timestamp           02/12/2024 07:30:55 PM
       Step Count                        24  Switch Count  39
       Page Faults                       0
       Page Reclaims                     695
       Page Swaps                        0
       Voluntary Context Switches        249
       Involuntary Context Switches      19
       Block Input Operations            0
       Block Output Operations           569480
       
 
 74         Proc contents data=work.tedsa_puf_2021;
 75         
 
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.06 seconds
       user cpu time       0.06 seconds
       system cpu time     0.01 seconds
       memory              4030.59k
       OS Memory           23720.00k
       Timestamp           02/12/2024 07:30:55 PM
       Step Count                        25  Switch Count  0
       Page Faults                       0
       Page Reclaims                     1043
       Page Swaps                        0
       Voluntary Context Switches        3
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           40
       
 
 76         proc freq data=work.tedsa_puf_2021;
 77         tables SUB1*GENDER;
 78         run;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.41 seconds
       user cpu time       1.33 seconds
       system cpu time     0.09 seconds
       memory              3366.31k
       OS Memory           24748.00k
       Timestamp           02/12/2024 07:30:56 PM
       Step Count                        26  Switch Count  20
       Page Faults                       0
       Page Reclaims                     739
       Page Swaps                        0
       Voluntary Context Switches        66
       Involuntary Context Switches      3
       Block Input Operations            0
       Block Output Operations           568
       
 
 79         proc freq data=work.tedsa_puf_2021;
 80         tables SUB1*Region;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.50 seconds
       user cpu time       1.43 seconds
       system cpu time     0.07 seconds
       memory              3086.84k
       OS Memory           24748.00k
       Timestamp           02/12/2024 07:30:58 PM
       Step Count                        27  Switch Count  9
       Page Faults                       0
       Page Reclaims                     469
       Page Swaps                        0
       Voluntary Context Switches        36
       Involuntary Context Switches      6
       Block Input Operations            0
       Block Output Operations           576
       
 
 81         proc format;
 82         value $mycat
 83          "Alcohol", "Barbiturates", "Other Tranquilizers" = "Combined ABT" ;
 NOTE: Format $MYCAT has been output.
 84         run;
 
 NOTE: PROCEDURE FORMAT used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              306.87k
       OS Memory           22688.00k
       Timestamp           02/12/2024 07:30:58 PM
       Step Count                        28  Switch Count  0
       Page Faults                       0
       Page Reclaims                     66
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 
 85         proc freq data=work.tedsa_puf_2021;
 86            tables sub1 * gender;
 87            format sub1 $mycat.;
 ERROR: You are trying to use the character format $MYCAT with the numeric variable SUB1 in data set WORK.TEDSA_PUF_2021.
 88         run;
 
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              2383.37k
       OS Memory           24228.00k
       Timestamp           02/12/2024 07:30:58 PM
       Step Count                        29  Switch Count  0
       Page Faults                       0
       Page Reclaims                     332
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 89         
 90         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 100        &lt;/PRE&gt;&lt;P&gt;i get this error&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 19:32:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915659#M1697</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-12T19:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915725#M1707</link>
      <description>This type of error can easily occur when you import data.  You don't really know what is in the data, and so you need to explore to find out.&lt;BR /&gt;&lt;BR /&gt;Run this test as the initial exploratory step:&lt;BR /&gt;proc freq data=have;&lt;BR /&gt;tables sub1;&lt;BR /&gt;run;&lt;BR /&gt;proc freq data=have;&lt;BR /&gt;tables sub1;&lt;BR /&gt;format sub1;&lt;BR /&gt;run;&lt;BR /&gt;Of course you would not use the word "have" as your data set name.  Use the actual name of your imported data set.</description>
      <pubDate>Mon, 12 Feb 2024 22:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915725#M1707</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2024-02-12T22:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915738#M1708</link>
      <description>&lt;DIV class=""&gt;&lt;P class=""&gt;The FREQ Procedure&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;Substance use (primary)SUB1 Frequency Percent CumulativeFrequency CumulativePercentMissing/unknown/not collected/invalidNoneAlcoholCocaine/crackMarijuana/hashishHeroinNon-prescription methadoneOther opiates and syntheticsPCPHallucinogensMethamphetamine/speedOther amphetaminesOther stimulantsBenzodiazepinesOther tranquilizersBarbituratesOther sedatives or hypnoticsInhalantsOver-the-counter medicationsOther drugs&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;219380&lt;/TD&gt;&lt;TD&gt;14.80&lt;/TD&gt;&lt;TD&gt;219380&lt;/TD&gt;&lt;TD&gt;14.80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;37871&lt;/TD&gt;&lt;TD&gt;2.55&lt;/TD&gt;&lt;TD&g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&lt;TD&gt;0.53&lt;/TD&gt;&lt;TD&gt;1482543&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;HR /&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;The FREQ Procedure&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;Substance use (primary)SUB1 Frequency Percent CumulativeFrequency CumulativePercent-912345678910111213141516171819&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;219380&lt;/TD&gt;&lt;TD&gt;14.80&lt;/TD&gt;&lt;TD&gt;219380&lt;/TD&gt;&lt;TD&gt;14.80&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;37871&lt;/TD&gt;&lt;TD&gt;2.55&lt;/TD&gt;&lt;TD&gt;257251&lt;/TD&gt;&lt;TD&gt;17.35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;439755&lt;/TD&gt;&lt;TD&gt;29.66&lt;/TD&gt;&lt;TD&gt;697006&lt;/TD&gt;&lt;TD&gt;47.01&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;70456&lt;/TD&gt;&lt;TD&gt;4.75&lt;/TD&gt;&lt;TD&gt;767462&lt;/TD&gt;&lt;TD&gt;51.77&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;129343&lt;/TD&gt;&lt;TD&gt;8.72&lt;/TD&gt;&lt;TD&gt;896805&lt;/TD&gt;&lt;TD&gt;60.49&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;255401&lt;/TD&gt;&lt;TD&gt;17.23&lt;/TD&gt;&lt;TD&gt;1152206&lt;/TD&gt;&lt;TD&gt;77.72&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1509&lt;/TD&gt;&lt;TD&gt;0.10&lt;/TD&gt;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&gt;0.05&lt;/TD&gt;&lt;TD&gt;1471733&lt;/TD&gt;&lt;TD&gt;99.27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1635&lt;/TD&gt;&lt;TD&gt;0.11&lt;/TD&gt;&lt;TD&gt;1473368&lt;/TD&gt;&lt;TD&gt;99.38&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;678&lt;/TD&gt;&lt;TD&gt;0.05&lt;/TD&gt;&lt;TD&gt;1474046&lt;/TD&gt;&lt;TD&gt;99.43&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;602&lt;/TD&gt;&lt;TD&gt;0.04&lt;/TD&gt;&lt;TD&gt;1474648&lt;/TD&gt;&lt;TD&gt;99.47&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;7895&lt;/TD&gt;&lt;TD&gt;0.53&lt;/TD&gt;&lt;TD&gt;1482543&lt;/TD&gt;&lt;TD&gt;100.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         proc freq data=work.tedsa_puf_2021;
 70         tables sub1;
 71         run;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.27 seconds
       user cpu time       1.21 seconds
       system cpu time     0.08 seconds
       memory              3527.18k
       OS Memory           24744.00k
       Timestamp           02/13/2024 12:50:32 AM
       Step Count                        40  Switch Count  3
       Page Faults                       0
       Page Reclaims                     488
       Page Swaps                        0
       Voluntary Context Switches        13
       Involuntary Context Switches      2
       Block Input Operations            0
       Block Output Operations           272
       
 
 72         proc freq data=tedsa_puf_2021;
 73         tables sub1;
 74         format sub1;
 75         run;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.25 seconds
       user cpu time       1.18 seconds
       system cpu time     0.07 seconds
       memory              2778.93k
       OS Memory           24744.00k
       Timestamp           02/13/2024 12:50:34 AM
       Step Count                        41  Switch Count  9
       Page Faults                       0
       Page Reclaims                     403
       Page Swaps                        0
       Voluntary Context Switches        32
       Involuntary Context Switches      3
       Block Input Operations            0
       Block Output Operations           280
       
 
 76         
 77         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 87         &lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 01:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915738#M1708</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-13T01:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915741#M1709</link>
      <description>&lt;P&gt;You cannot use a CHARACTER format, like $MYCAT, with a NUMERIC variable, like SUB1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why did you create a character format if SUB1 was a numeric variable?&lt;/P&gt;
&lt;P&gt;What are the values of SUB1?&amp;nbsp; Why did you think they were the text strings you use to create the $MYCAT format?&amp;nbsp; Did SUB1 already have a user defined numeric format attached to it that was causing the numbers to display as those strings?&amp;nbsp; If so then make a numeric variable, perhaps named MYCAT instead , that maps the numeric values to the text string you want to display.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 01:38:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915741#M1709</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2024-02-13T01:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915756#M1710</link>
      <description>&lt;P&gt;Good job running the program I requested.&amp;nbsp; The results are a bit difficult to read.&amp;nbsp; Do they appear the same before you posted them here?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have two tables, with the same numbers in them.&amp;nbsp; That is good.&amp;nbsp; The idea now is to take find the match between the displayed values, such as "Other tranqualizers" and the codes that the data uses to represent those values.&amp;nbsp; Compare the two tables, and see if it's obvious which codes match which categories.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the two tables can't be compared in that way, we'll devise another way.&amp;nbsp; But for now see if it is obvious to you how to match up the codes and the categories.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 03:38:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915756#M1710</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2024-02-13T03:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915758#M1711</link>
      <description>&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 68         
 69         proc cimport
 70         
 71            infile="/home/u63544247/curiosity cup/TEDS_A_2021-data-sas.stc" lib=WORK;
 72         
 73         run;
 
 NOTE: PROC CIMPORT begins to create/update catalog WORK.FORMATS
 NOTE: Entry ADMYR.FORMAT has been imported.
 NOTE: Entry AGE.FORMAT has been imported.
 NOTE: Entry ALCD.FORMAT has been imported.
 NOTE: Entry ARRESTS.FORMAT has been imported.
 NOTE: Entry CBSA.FORMAT has been imported.
 NOTE: Entry DAYWAIT.FORMAT has been imported.
 NOTE: Entry DETCRIM.FORMAT has been imported.
 NOTE: Entry DETNLF.FORMAT has been imported.
 NOTE: Entry DIVISION.FORMAT has been imported.
 NOTE: Entry DSMCRIT.FORMAT has been imported.
 NOTE: Entry EDUC.FORMAT has been imported.
 NOTE: Entry EMPLOY.FORMAT has been imported.
 NOTE: Entry ETH.FORMAT has been imported.
 NOTE: Entry FLAG.FORMAT has been imported.
 NOTE: Entry FREQ.FORMAT has been imported.
 NOTE: Entry FRSTUSE.FORMAT has been imported.
 NOTE: Entry GENDER.FORMAT has been imported.
 NOTE: Entry HLTHINS.FORMAT has been imported.
 NOTE: Entry IDU.FORMAT has been imported.
 NOTE: Entry LIVARAG.FORMAT has been imported.
 NOTE: Entry MARSTAT.FORMAT has been imported.
 NOTE: Entry METHUSE.FORMAT has been imported.
 NOTE: Entry NOPRIOR.FORMAT has been imported.
 NOTE: Entry PREG.FORMAT has been imported.
 NOTE: Entry PRIMINC.FORMAT has been imported.
 NOTE: Entry PRIMPAY.FORMAT has been imported.
 NOTE: Entry PSOURCE.FORMAT has been imported.
 NOTE: Entry PSYPROB.FORMAT has been imported.
 NOTE: Entry RACE.FORMAT has been imported.
 NOTE: Entry REGION.FORMAT has been imported.
 NOTE: Entry ROUTE.FORMAT has been imported.
 NOTE: Entry SELFHELP.FORMAT has been imported.
 NOTE: Entry SERVSETA.FORMAT has been imported.
 NOTE: Entry STFIPS.FORMAT has been imported.
 NOTE: Entry SUB.FORMAT has been imported.
 NOTE: Entry VET.FORMAT has been imported.
 NOTE: Total number of entries processed in catalog WORK.FORMATS: 36
 
 NOTE: PROC CIMPORT begins to create/update data set WORK.TEDSA_PUF_2021
 NOTE: Data set contains 62 variables and 1482543 observations. 
       Logical record length is 496
 
 NOTE: Compressing data set WORK.TEDSA_PUF_2021 decreased size by 60.42 percent. 
       Compressed is 2223 pages; un-compressed would require 5616 pages.
 NOTE: PROCEDURE CIMPORT used (Total process time):
       real time           6.64 seconds
       user cpu time       6.35 seconds
       system cpu time     0.28 seconds
       memory              2420.28k
       OS Memory           25252.00k
       Timestamp           02/13/2024 04:13:37 AM
       Step Count                        79  Switch Count  39
       Page Faults                       0
       Page Reclaims                     324
       Page Swaps                        0
       Voluntary Context Switches        247
       Involuntary Context Switches      6
       Block Input Operations            0
       Block Output Operations           569704
       
 
 74         Proc contents data=work.tedsa_puf_2021;
 75         
 
 NOTE: PROCEDURE CONTENTS used (Total process time):
       real time           0.06 seconds
       user cpu time       0.06 seconds
       system cpu time     0.00 seconds
       memory              3713.53k
       OS Memory           25256.00k
       Timestamp           02/13/2024 04:13:37 AM
       Step Count                        80  Switch Count  0
       Page Faults                       0
       Page Reclaims                     383
       Page Swaps                        0
       Voluntary Context Switches        4
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           48
       
 
 76         proc freq data=work.tedsa_puf_2021;
 77         tables SUB1*GENDER;
 78         run;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.39 seconds
       user cpu time       1.30 seconds
       system cpu time     0.10 seconds
       memory              3293.81k
       OS Memory           25772.00k
       Timestamp           02/13/2024 04:13:38 AM
       Step Count                        81  Switch Count  23
       Page Faults                       0
       Page Reclaims                     471
       Page Swaps                        0
       Voluntary Context Switches        71
       Involuntary Context Switches      1
       Block Input Operations            0
       Block Output Operations           560
       
 
 79         proc freq data=work.tedsa_puf_2021;
 80         tables SUB1*Region;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.41 seconds
       user cpu time       1.34 seconds
       system cpu time     0.07 seconds
       memory              3133.78k
       OS Memory           25772.00k
       Timestamp           02/13/2024 04:13:40 AM
       Step Count                        82  Switch Count  8
       Page Faults                       0
       Page Reclaims                     470
       Page Swaps                        0
       Voluntary Context Switches        35
       Involuntary Context Switches      1
       Block Input Operations            0
       Block Output Operations           576
       
 
 81         proc format;
 82           value mycat
 83           "Alcohol", "Barbiturates", "Other Tranquilizers" = "Combined ABT" ;
 ERROR: The quoted string 'Alcohol' is not acceptable to a numeric format or informat.
 NOTE: The previous statement has been deleted.
 84         run;
 
 NOTE: PROCEDURE FORMAT used (Total process time):
       real time           0.00 seconds
       user cpu time       0.00 seconds
       system cpu time     0.00 seconds
       memory              230.84k
       OS Memory           23712.00k
       Timestamp           02/13/2024 04:13:40 AM
       Step Count                        83  Switch Count  0
       Page Faults                       0
       Page Reclaims                     14
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 NOTE: The SAS System stopped processing this step because of errors.
 
 
 85         proc freq data=work.tedsa_puf_2021;
 86            tables sub1 * gender;
 87            format sub1 mycat.;
 88         run;
 
 NOTE: There were 1482543 observations read from the data set WORK.TEDSA_PUF_2021.
 NOTE: PROCEDURE FREQ used (Total process time):
       real time           1.39 seconds
       user cpu time       1.30 seconds
       system cpu time     0.09 seconds
       memory              3068.93k
       OS Memory           25772.00k
       Timestamp           02/13/2024 04:13:41 AM
       Step Count                        84  Switch Count  4
       Page Faults                       0
       Page Reclaims                     452
       Page Swaps                        0
       Voluntary Context Switches        21
       Involuntary Context Switches      2
       Block Input Operations            0
       Block Output Operations           560
       
 
 89         
 90         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 100        &lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Feb 2024 04:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915758#M1711</guid>
      <dc:creator>Jacob6</dc:creator>
      <dc:date>2024-02-13T04:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: combining variables</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915781#M1712</link>
      <description>A numeric format must have numeric arguments to the left of the equal sign. Look at the raw, unformatted values in your dataset to determine which ones to use.</description>
      <pubDate>Tue, 13 Feb 2024 10:07:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/combining-variables/m-p/915781#M1712</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2024-02-13T10:07:58Z</dc:date>
    </item>
  </channel>
</rss>

