<?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>All New SAS User posts</title>
    <link>https://communities.sas.com/t5/New-SAS-User/bd-p/new-users</link>
    <description>All New SAS User posts</description>
    <pubDate>Tue, 11 Aug 2020 20:51:52 GMT</pubDate>
    <dc:creator>new-users</dc:creator>
    <dc:date>2020-08-11T20:51:52Z</dc:date>
    <item>
      <title>Re: About base exam</title>
      <link>https://communities.sas.com/t5/New-SAS-User/About-base-exam/m-p/675996#M23660</link>
      <description>Where are you getting your practice questions from? SAS changed the exam structure last year (July?), perhaps the material hasn't been updated to match.</description>
      <pubDate>Tue, 11 Aug 2020 20:35:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/About-base-exam/m-p/675996#M23660</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-11T20:35:40Z</dc:date>
    </item>
    <item>
      <title>About base exam</title>
      <link>https://communities.sas.com/t5/New-SAS-User/About-base-exam/m-p/675991#M23659</link>
      <description>&lt;P&gt;I am planning to take Programming Associate/Base Programming Specialist. I am confused whether INFILE/ARRAY/INPUT statement included in the exam. I check the exam guide, there is nothing related it. But when I do the practice questions, there are some related it. Thanks so much.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 20:17:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/About-base-exam/m-p/675991#M23659</guid>
      <dc:creator>Jianan_luna</dc:creator>
      <dc:date>2020-08-11T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Sudio Sends Data to SAS?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Sudio-Sends-Data-to-SAS/m-p/675786#M23657</link>
      <description>Hi:&lt;BR /&gt;  When you say that you are "less familiar with Enterprise or 9.4", I assume you mean SAS Enterprise Guide or SAS Display Manager on Windows, also known as the SAS Windowing Environment. &lt;BR /&gt;&lt;BR /&gt;  An editor is an editor is an editor is an editor (with apologies to Gertrude Stein). All of the SAS Editors have a place to type code; all of the SAS Editors have a way for you to review the SAS log after the code runs. All of the SAS Editors have a way to review results. The look and feel of the editors is different. How you launch each editor is a bit different. How you submit code is a bit different (click the little running man or click the Run menu item). How and where you save code is different. How you address files is slightly different. But this is all minor and you can learn to work with the differences.&lt;BR /&gt;&lt;BR /&gt;  SAS Enterprise Guide, SAS Studio, SAS Display Manager on Windows are all just different ways to communicate with SAS -- different graphical user interfaces. SAS Enterprise Guide and SAS Studio can work with your code and send it to the main SAS executable program. That main SAS program can reside in any of these places:&lt;BR /&gt;1) a local install on a Windows C: drive&lt;BR /&gt;2) a network install on a company server&lt;BR /&gt;3) a Business Intelligence platform install (like #2, only with a metadata server and more security and other servers in the mix)&lt;BR /&gt;4) a cloud install, such as using SAS Studio and Enterprise Guide with SAS on a cloud server (such as our SAS OnDemand for Academics cloud server or an company cloud either on-premises or hosted remotely)&lt;BR /&gt;&lt;BR /&gt;  #1, #2 and #3 above are typically company or school configurations. #4 could be a company configuration, but it is also the way we deliver free access to SAS for non-commercial learning purposes. I would NOT recommend uploading your own data, especially patient data to our SODA server just because you only want to use SAS Studio.&lt;BR /&gt;&lt;BR /&gt;  SAS University Edition on a Virtual Machine uses SAS Studio to communicate with SAS inside the Unix Virtual Machine. However, SAS Enterprise Guide and SAS on Windows will NOT communicate with SAS this way when using SAS University Edition. &lt;BR /&gt;&lt;BR /&gt;  I could type my SAS programs in Notepad or Wordpad or Textpad or even in Word. But I can't submit the code to SAS from any of those editors. However, assuming I saved my typed program and I knew the location of the SAS executable program and I have the right permissions, I could go to a command window and batch submit my SAS program (in most of the above usage scenarios). &lt;BR /&gt;&lt;BR /&gt;  We have lots of videos that show how to use Enterprise Guide and if you are a student at NCSU, as your username implies, then you could access training via NCSU's license. You could send mail to elearn@sas.com to find out how a student can access Enterprise Guide training.&lt;BR /&gt;&lt;BR /&gt;  Hope this helps convince you to give Enterprise Guide a try. SAS Studio isn't your only resource.&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 10 Aug 2020 23:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Sudio-Sends-Data-to-SAS/m-p/675786#M23657</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-08-10T23:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675784#M23656</link>
      <description>&lt;P&gt;Yep! These data are medical histories of these ladies... So it is treated just as humans data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'll make up fake data next time!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again Paige!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 23:18:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675784#M23656</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-08-10T23:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Sudio Sends Data to SAS?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Sudio-Sends-Data-to-SAS/m-p/675766#M23655</link>
      <description>&lt;P&gt;If you're using Academics on Demand, this your data is in the SAS cloud and this likely violates your companies policies. Since you're mentioning a training environment, I suspect your colleague is correct and your data would be sent externally.&lt;BR /&gt;If you're using SAS University Edition then no data is sent externally, but usage statistics are sent to the server.&lt;BR /&gt;If you're using a custom installation of SAS Studio then no data is sent externally.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 21:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Sudio-Sends-Data-to-SAS/m-p/675766#M23655</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-10T21:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675761#M23654</link>
      <description>&lt;P&gt;Data on cows is "sensitive"? It's not like you are publishing a person's medical history. And in any event, if it is "sensitive", then you can make up fake data with fake cow ID to match your problem.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 21:20:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675761#M23654</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-10T21:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675754#M23653</link>
      <description>&lt;P&gt;hi Paige!&lt;/P&gt;&lt;P&gt;Sorry for everyhting, I accepted your first post cause I did add a mean function and it worked.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*1, tranposer pour avoir une seule ligne par lactation*/
proc sort data=qulac;
by no_ferme cow lac;
run;
proc transpose data=qulac out=qulact prefix=LS_;
var SCC_linear_score;
by no_ferme cow lac;
run;
/*2 calculer une moyenne par lactation*/
data qulact;
set qulact;
lsmean=mean(ls_1, ls_2, ls_3, ls_4, ls_5, ls_6, ls_7, ls_8, ls_9, ls_10, ls_11, ls_12, ls_13);
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So you have answered my question, thanks again. I was writing a part of my "first" code because I tought that is what you have asked, but obviously it is not... I'm not really familiar with the use of macros and my data are sensitive, but in the future i will try my best to meet your demands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Annie&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 20:52:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675754#M23653</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-08-10T20:52:41Z</dc:date>
    </item>
    <item>
      <title>SAS Sudio Sends Data to SAS?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Sudio-Sends-Data-to-SAS/m-p/675747#M23652</link>
      <description>&lt;P&gt;Hello all, I'm learning to use SAS Studio as it's the coding environment the training modules were taught in and I'm not the most computer literate person, so to make things easier on myself I've been using it alone. My coworker who requested that I take the training says that I cannot use the SAS Studio environment for our data as it takes the form of patient records and is therefore shared with SAS when I use Studio. Is this true? I'd like to continue using it if I can since I'm much less familiar with Enterprise or 9.4 which are also on this PC. Please advise.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 20:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Sudio-Sends-Data-to-SAS/m-p/675747#M23652</guid>
      <dc:creator>jmpalumbNCSU</dc:creator>
      <dc:date>2020-08-10T20:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675745#M23651</link>
      <description>&lt;P&gt;Until I see your data as SAS data step code, I can't respond to your specific question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It does seem to me that PROC SORT and PROC TRANSPOSE are&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; needed, and you didn't even try the MEAN() function in a data step.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 20:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675745#M23651</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-10T20:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DAte conversion to numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DAte-conversion-to-numeric/m-p/675723#M23650</link>
      <description>&lt;P&gt;SAME will only yield the same result as END with the starting date is the 31st day of the month.&lt;/P&gt;
&lt;PRE&gt;1541  data example;
1542     thisdate = '30APR2020'd ;
1543     samedate = intnx('month',thisdate,1,'s');
1544     lastdate = intnx('month',thisdate,1,'e');
1545     format _all_ date9.;
1546     put (_all_) (=/);
1547  run;


thisdate=30APR2020
samedate=30MAY2020
lastdate=31MAY2020
&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Aug 2020 19:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DAte-conversion-to-numeric/m-p/675723#M23650</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-10T19:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675718#M23649</link>
      <description>&lt;P&gt;Hi! Thank you, will try it! I wasn't sure what part of code I should write because I have just transposed a table...&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*1, tranposer pour avoir une seule ligne par lactation*/
proc sort data=qulac;
by no_ferme cow lac;
run;
proc transpose data=qulac out=qulact prefix=LS_;
var SCC_linear_score;
by no_ferme cow lac;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Should I create a small subsample of data (cards) at first?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, I'm tryin to follow the requests, but strugglin a little bit!;)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 18:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675718#M23649</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-08-10T18:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675717#M23648</link>
      <description>&lt;P&gt;You can use the &lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=p0vl2htnkjkvejn1lsx2004n6dqp.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;MEAN() function&lt;/A&gt; in a data step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Normally, and in the future, we ask you to provide data as &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;SAS data step code&lt;/A&gt; and not as screen captures. If you want us to write code to help you, please provide data in the desired form.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 18:42:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675717#M23648</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-10T18:42:39Z</dc:date>
    </item>
    <item>
      <title>Question about means ins SAS 9.4</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675713#M23647</link>
      <description>&lt;P&gt;Hi! I'm tryin to calculate a mean LS for a lac (see the print screen) Not every cow have the same number of test in their lactation.&amp;nbsp; How can I code SAS for this: Sum all the LS ne . then divide it by the number of LS ne . And put the result in a new variable called LSmean.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Annie_Fréchette_0-1597083852648.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/48107i1C77A41F8760CCB9/image-size/medium?v=1.0&amp;amp;px=400" title="Annie_Fréchette_0-1597083852648.png" alt="Annie_Fréchette_0-1597083852648.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks you very much!!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 18:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-means-ins-SAS-9-4/m-p/675713#M23647</guid>
      <dc:creator>Annie_Fréchette</dc:creator>
      <dc:date>2020-08-10T18:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DAte conversion to numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DAte-conversion-to-numeric/m-p/675689#M23646</link>
      <description>&lt;P&gt;You several problems in your example. If 2020-04-31 is supposed to be 31 April 2020 then that date is not a valid date to begin with.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want SAS to modify date values then you should look at the INTNX function.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Working-with-Dates-and-Times-in-SAS-Tutorial/ta-p/424354" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Working-with-Dates-and-Times-in-SAS-Tutorial/ta-p/424354&lt;/A&gt; has a PDF with much information about dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you are apparently passing this to Teradata then there is strong likelihood that somewhere you have a data value that is not handled correctly as well.&amp;nbsp; I have no idea what a date like&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt; 1200431&lt;/LI-CODE&gt;
&lt;P&gt;is supposed to represent, so I am assuming that is some sort of Teradata convention.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A basic date change example in SAS:&lt;/P&gt;
&lt;PRE&gt;data example;
   thisdate = '30APR2020'd ;
   otherdate = intnx('month',thisdate,10,'s');
   format thisdate otherdate date9.;
run;&lt;/PRE&gt;
&lt;P&gt;The last parameter of the INTNX function is an alignment, you can have a date returned that is the begining of the period, use 'B', the end of the period, use 'E' or the same point in the target period, use 'S'. Since the example is using the last data of a month the 'same' is the last day of the target month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 17:32:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DAte-conversion-to-numeric/m-p/675689#M23646</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-10T17:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is my output correct</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-my-output-correct/m-p/675684#M23645</link>
      <description>&lt;P&gt;Typically when a phrase like "between the age of 18 - 50 years" is used then the data should be subsetted to that range, typically with a Where statement or data set option. Your frequencies for Age don't show any ages outside that range so go so far.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However you apparently have multiple "gender" variables and we have no way of knowing which is the "current" value. From the request, that is the only one that should be used.&lt;/P&gt;
&lt;P&gt;Since the request says "a frequency table of current gender and sexual orientation " I would normally interpret that as meaning first, one table, not 6 plus and graphs, and second that you have gender and orientation in a single table. If race is not part of the request do not include it, if required then describe how race is supposed to be included.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In Proc Freq that would be a Tables statement like: Tables genderc*sex_o;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the stated requirement and the shown output, if I were grading this as an assignment it would likely get a D because no where do you have gender and orientation together.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the requirement does not want graphs then turn of the graphs before running proc freq.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 17:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-my-output-correct/m-p/675684#M23645</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-10T17:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675669#M23644</link>
      <description>&lt;P&gt;It worked! Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675669#M23644</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T16:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675668#M23643</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=WORK.SYPHILIS;
where18&amp;lt;=age&amp;lt;=50;
tables genderB genderC sex_o RACE age / plots=(freqplot cumfreqplot);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This is likely what you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your TYPE portion doesn't make sense since those are variable names. Not sure what you were expecting to happen within that portion of code but it doesn't do what you think it does &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675668#M23643</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-10T16:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675665#M23642</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:32:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675665#M23642</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T16:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675664#M23641</link>
      <description>&lt;P&gt;variables called genderB and genderC&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:31:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675664#M23641</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T16:31:42Z</dc:date>
    </item>
    <item>
      <title>Is my output correct</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-my-output-correct/m-p/675659#M23640</link>
      <description>&lt;P&gt;"Create a frequency table of current gender and sexual orientation for patients between the age of 18 - 50 years" was my instructions...I want to know if my output is correct. Please see attachment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:28:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-my-output-correct/m-p/675659#M23640</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T16:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675658#M23639</link>
      <description>It seems like you're confusing variable values and variable names. &lt;BR /&gt;&lt;BR /&gt;Is your variable called type with values of genderB, genderC or do you have variables called genderB, genderC?&lt;BR /&gt;&lt;BR /&gt;I guarantee that code is not correct or at least what you want or expect.</description>
      <pubDate>Mon, 10 Aug 2020 16:24:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675658#M23639</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-10T16:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675655#M23638</link>
      <description>I'm guessing the error means SAS doesn't think you have a variable called TYPE in your syphilis data base. You can check this in your IMPORT code or via PROC CONTENTS. You'll want to check the label versus name as well, this is a common mistake to use the labels instead of names.</description>
      <pubDate>Mon, 10 Aug 2020 16:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675655#M23638</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-10T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675653#M23637</link>
      <description>&lt;P&gt;That worked but it gave me a frequency table for all ages and not age 18-50 like before. My instructions were to create a frequency table of current gender and sexual orientation for patients between the age of 18 - 50 years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	proc contents data=work.syphilis;
	tables genderB genderC sex_o RACE age / plots=(freqplot cumfreqplot);
	where Type in ("genderB", "genderC", "sex_o", "RACE") and 18&amp;lt;=age&amp;lt;=50;
run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:22:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675653#M23637</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T16:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675647#M23636</link>
      <description>&lt;P&gt;And I already imported the CSV file into SAS&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 16:11:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675647#M23636</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T16:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675642#M23635</link>
      <description>Run a PROC CONTENTS on your data set and check the name AND label of your variables. &lt;BR /&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:59:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675642#M23635</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-10T15:59:36Z</dc:date>
    </item>
    <item>
      <title>What does it mean if SAS says variable type is not on file?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675637#M23634</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;SAS keeps saying that the variable type is not on file....What does this mean? WHen I did a one way frequency table without the where statement it ran...But when I made this edit, it didn't.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Code:
proc freq data=WORK.SYPHILIS;
	tables genderB genderC sex_o RACE age / plots=(freqplot cumfreqplot);
	where Type in ("genderB", "genderC", "sex_o", "race") and 18&amp;lt;=age&amp;lt;=50;
run;

Log: 

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable _SASWSTEMP_ resolves to /home/u49152646/.sasstudio/.images/db1b9e49-6774-45a2-9899-069be7ad3673
 SYMBOLGEN:  Some characters in the above value which were subject to macro quoting have been unquoted for printing.
 SYMBOLGEN:  Macro variable GRAPHINIT resolves to GOPTIONS RESET=ALL GSFNAME=_GSFNAME;
 72         
 73         /*
 74          *
 75          * Task code generated by SAS Studio 3.8
 76          *
 77          * Generated on '8/10/20, 8:32 AM'
 78          * Generated by 'u49152646'
 79          * Generated on server 'ODAWS03-USW2.ODA.SAS.COM'
 80          * Generated on SAS platform 'Linux LIN X64 3.10.0-1062.9.1.el7.x86_64'
 81          * Generated on SAS version '9.04.01M6P11072018'
 82          * Generated on browser 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
 82       ! Chrome/84.0.4147.105 Safari/537.36'
 83          * Generated on web client
 83       ! 'https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00&amp;amp;ticket=ST-27624-sinmcsizLgE19kH9QBkl-cas'
 84          *
 85          */
 86         
 87         proc freq data=WORK.SYPHILIS;
 88         tables genderB genderC sex_o RACE age / plots=(freqplot cumfreqplot);
 89         where Type in ("genderB", "genderC", "sex_o", "race") and 18&amp;lt;=age&amp;lt;=50;
 ERROR: Variable Type is not on file WORK.SYPHILIS.&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/What-does-it-mean-if-SAS-says-variable-type-is-not-on-file/m-p/675637#M23634</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-10T15:52:31Z</dc:date>
    </item>
    <item>
      <title>SAS DAte conversion to numeric</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-DAte-conversion-to-numeric/m-p/675636#M23633</link>
      <description>&lt;P&gt;Hi&amp;nbsp; all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am struggling in some date conversion.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way of conversion for this subtraction as Tenure_length_months results in a numeric number in the same format as Teradata&amp;nbsp; output. Despite this code works on SAS,&amp;nbsp; the final result for column Tenure_lenght_month does not manky any sense on my model with SAS results.&lt;/P&gt;&lt;P&gt;When I run on Teradata column&amp;nbsp;Tenure_length_months give me numbers like 125,31,48 which is absolutely fine however SAS gives me results like 6278800, 6252333 that could be right on a SAS approach but is not what I would like to see&amp;nbsp; as an output for this column.&lt;/P&gt;&lt;P&gt;Example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering today as 2020-04-31 I would have&amp;nbsp; a customer that is with us in 10 months&amp;nbsp;&lt;/P&gt;&lt;P&gt;Teradata results&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ten_date&lt;/TD&gt;&lt;TD&gt;Start_Month_End&lt;/TD&gt;&lt;TD&gt;tenure_mth&lt;/TD&gt;&lt;TD&gt;Tenure_length_months&lt;/TD&gt;&lt;TD&gt;Tenure_Months&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;02/07/2019&lt;/TD&gt;&lt;TD&gt;31/07/2019&lt;/TD&gt;&lt;TD&gt;201,907.00&lt;/TD&gt;&lt;TD&gt;10.98&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Considering today as 2020-04-31 I would have&amp;nbsp; a customer that is with us the same 10 months but SAs calculate in another way so gives me results like 627880.&lt;/P&gt;&lt;P&gt;SAS results&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ten_date&lt;/TD&gt;&lt;TD&gt;Start_Month_End&lt;/TD&gt;&lt;TD&gt;tenure_mth&lt;/TD&gt;&lt;TD&gt;Tenure_length_months&lt;/TD&gt;&lt;TD&gt;Tenure_Months&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;02JUL2019&amp;nbsp; 31JUL2019&amp;nbsp; &amp;nbsp; &amp;nbsp;201907&amp;nbsp; &amp;nbsp; &amp;nbsp; 627880.40&amp;nbsp; 627880&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I should write to see the same results as Teradata please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc delete
   lib= smm  data=payg_base_1;
run;

proc sql;                                                        
connect to teradata                                                     
(user=&amp;amp;td_usr. password=&amp;amp;td_pass. server = 'edwprod' database = 'insights_consumer' mode = teradata);                                                         
EXECUTE (
                                                          
CREATE SET TABLE sasmod_manager.payg_base_1 AS                                                       
(                                                         

select  a.*,

bb.Effective_From_Dt as ten_date ,
ADD_MONTHS(ten_date - EXTRACT(DAY FROM ten_date) + 1, 1) - 1 AS Start_Month_End,
cast(trim(extract (year from  ten_date ))  || trim(extract (month from  ten_date  ) (format '99')) as float) as tenure_mth,
&lt;STRONG&gt;((  '2020-04-31' - ten_date)/ 30.42) AS Tenure_length_months,

Cast(( Tenure_length_months ) AS INT)  AS Tenure_Months&lt;/STRONG&gt;

from

(  select       subscr_id,  
  subscr_num,
Tariff_Offering_Id,    
 Device_Type_Id   ,
sales_channel_id

/*from NUC_PL_USER_VIEW.SUBSCR_TRACK WHERE DATE    between effective_from_dt  and  effective_to_dt */
from NUC_PL_USER_VIEW.SUBSCR_TRACK WHERE 1200431  between effective_from_dt  and  effective_to_dt 
AND PREPYD_IND = 'Y'  
AND pandl_segment_id = 1 
AND mobile_broadband_ind = 'N' 
AND TELEMATIC_IND='N' 
AND (  Internal_BASE_IND=1 ) 
 )  a  

         left join
( select     subscr_id,    Effective_From_Dt    from     NUC_PL_USER_VIEW.SUBSCR_TRACK 
   WHERE    
   PREPYD_IND = 'Y'    AND pandl_segment_id = 1   AND mobile_broadband_ind = 'N'   AND TELEMATIC_IND='N'  AND Internal_BASE_IND=1    /* START DATE*/
  qualify rank () over (  partition by  subscr_id    order by  Effective_From_Dt asc )  =1     )  bb
   on a.Subscr_id=bb.Subscr_id 
 

) WITH DATA PRIMARY INDEX(subscr_id);)BY TERADATA;                      
quit; 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:51:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-DAte-conversion-to-numeric/m-p/675636#M23633</guid>
      <dc:creator>jorquec</dc:creator>
      <dc:date>2020-08-10T15:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: how do repeat the ID for every patient 11 times</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675611#M23632</link>
      <description>&lt;P&gt;The following code should work, it repeats the last observation of each id until there is 11 observations per id.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
by id;
retain i 1;&lt;BR /&gt;
if first.id then do;
    i=1;
    i=i+1;
    output;
end;&lt;BR /&gt;
else if last.id=0 and first.id=0 then do;
    i=i+1;
    output;
end;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;else if last.id then do;
    do until (i=12);
        i=i+1;
        output;&lt;BR /&gt;&lt;BR /&gt;        status=0;
    end;
end;&lt;BR /&gt; 
drop i;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:51:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675611#M23632</guid>
      <dc:creator>Angel_Larrion</dc:creator>
      <dc:date>2020-08-10T14:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: how do repeat the ID for every patient 11 times</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675609#M23631</link>
      <description>&lt;P&gt;Looking at your table posted each observation have a unique KEY made of&lt;/P&gt;
&lt;P&gt;ID T1 and T2.&lt;/P&gt;
&lt;P&gt;What values should T1, T2 have in next added observations ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steps to result will be:&lt;/P&gt;
&lt;P&gt;1) select distinct values of ID taken from current dataset&lt;/P&gt;
&lt;P&gt;2) replicate IDs 11 times including&amp;nbsp; T1 T2 values creating a skeleton dataset&lt;/P&gt;
&lt;P&gt;3) merging the skeleton with the current dataset by ID T1 T2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 14:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675609#M23631</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-10T14:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: how do repeat the ID for every patient 11 times</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675597#M23630</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need every instance repeated 11 times because I want the data to reflect the patient at different time intervals. the intervals for the experiment are the same for each patient and we took their vitals at each instance so there are other variables. however some patients died during before the full time length of experiment so there is no data for times above when they died. I still want to include them to 11 times for continuity and mark them as Status=0 for dead at this time interval. Im trying to put the data in a counting style.&lt;/P&gt;&lt;P&gt;&amp;nbsp;The data wu&lt;/P&gt;&lt;P&gt;ID.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;CODE class="aa-varname"&gt;T1&lt;/CODE&gt;&lt;CODE class="aa-varname"&gt;T2&lt;/CODE&gt;&lt;CODE class="aa-varname"&gt;Status&lt;/CODE&gt;&lt;CODE class="aa-varname"&gt;Trt&lt;/CODE&gt;&lt;CODE class="aa-varname"&gt;Number&lt;/CODE&gt;&lt;CODE class="aa-varname"&gt;Size&lt;/CODE&gt;&lt;CODE class="aa-varname"&gt;Z&lt;/CODE&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;12.3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;14.7&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;13.8&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;23&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15.5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;5&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;12.3&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;14.7&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;10&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;13.8&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;23&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;0&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;15.5&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 10 Aug 2020 13:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675597#M23630</guid>
      <dc:creator>sasgyro</dc:creator>
      <dc:date>2020-08-10T13:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: how do repeat the ID for every patient 11 times</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675532#M23629</link>
      <description>&lt;P&gt;What other variables are in your dataset? Should they be missing or with any initial value?&lt;/P&gt;
&lt;P&gt;Please post an sample of your dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why do you want the IDs to be in 11 observations ? what is the logic or needs?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to do it is to select distinct IDs, replicate them to have 11 times each and then&lt;/P&gt;
&lt;P&gt;remerge them with your dataset by ID and maybe some other variable (like a date).&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 04:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675532#M23629</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-10T04:04:13Z</dc:date>
    </item>
    <item>
      <title>how do repeat the ID for every patient 11 times</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675525#M23628</link>
      <description>&lt;P&gt;how do repeat the ID for every patient so that they have 11 instances they appear in the dataset. Some patients appear 3 4 7 or 11 times but I want everyone to be featured 11 times.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 01:32:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-repeat-the-ID-for-every-patient-11-times/m-p/675525#M23628</guid>
      <dc:creator>sasgyro</dc:creator>
      <dc:date>2020-08-10T01:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Missingness in a data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675472#M23627</link>
      <description>&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_calis_examples36.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;The SAS documentation has an example&lt;/A&gt; of how to compute FIML by using structural equation modeling with PROC CALIS.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 11:37:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675472#M23627</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-08-09T11:37:46Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Missingness in a data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675469#M23626</link>
      <description>&lt;P&gt;Do you want impute missing value by EM algorithm ?&lt;/P&gt;
&lt;P&gt;&lt;LI-USER uid="13684"&gt;&lt;/LI-USER&gt;&amp;nbsp; wrote a blog about it recently .&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 11:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675469#M23626</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-08-09T11:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Missingness in a data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675467#M23625</link>
      <description>&lt;P&gt;Some people will fill in the mean of the data in place of the missings and also create a new variable which is 0 if the original variable was not missing and 1 if the original variable was missing. Then you put the original variable and the new variable into the model. This essentially predicts the observations with the original variable missing at a constant offset from the observations when the original variable was not missing.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 11:05:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675467#M23625</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-09T11:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Struggling with Missingness in a data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675463#M23624</link>
      <description>From what you describe, the people are not "missing" the question, they are deliberately choosing not to answer it. This is information that might be useful for your model.&lt;BR /&gt;&lt;BR /&gt;You can try recoding this variable to "not answered" (or whatever) then run the logistic regression.</description>
      <pubDate>Sun, 09 Aug 2020 08:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675463#M23624</guid>
      <dc:creator>Norman21</dc:creator>
      <dc:date>2020-08-09T08:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: several questions: options control, format control, ods procedure tables output data sets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675457#M23623</link>
      <description>&lt;P&gt;If you want to write a text file use the PUT statement.&amp;nbsp; If you want to use a "FORTRAN like format list" then () in around the variable names and separate () around the formats.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  set HAVE ;
  file 'myfile';
  put (varlist) (fmtlist);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To write a delimited file use the DSD option.&amp;nbsp; No need to for formats so just list the variables.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
  set HAVE ;
  file 'myfile' dsd ;
  put varlist ;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you want to list all of them you can use the _ALL_ keyword, but then you need to use the () or else it writes name=value instead and includes automatic variables like _N_.&amp;nbsp; No need to list formats, but you need to put something in the format list so use a pointer control like +0 or a modifier like : .&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;  put (_all_) (+0);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 03:43:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675457#M23623</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-09T03:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: several questions: options control, format control, ods procedure tables output data sets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675456#M23622</link>
      <description>&lt;P&gt;Are you looking for the CENTER/NOCENTER option?&lt;/P&gt;
&lt;P&gt;Just include it in your autoexec.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options nocenter;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 09 Aug 2020 03:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675456#M23622</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-08-09T03:37:12Z</dc:date>
    </item>
    <item>
      <title>Struggling with Missingness in a data set</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675450#M23621</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running a logistic regression with four predictor variables, 1 outcome variable, and 6 covariates.&amp;nbsp; My N is around 2000 participants.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For one of my four predictor variables, there are around 1000 people missing the question.&amp;nbsp; The question asked was very sensitive and it is normal for people to skip it on surveys per other papers. The situation is similar for one of my covariates, where a question on a sensitive topic is also skipped by a substantial number of people.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now when I run it, my data set ends up cut in half.&amp;nbsp; My major professor will not let me do multiple imputations and wants me to do Full Information Maximum Likelihood to account for the missing data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any advice on if I can do this in SAS?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 02:16:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Struggling-with-Missingness-in-a-data-set/m-p/675450#M23621</guid>
      <dc:creator>klongway</dc:creator>
      <dc:date>2020-08-09T02:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: several questions: options control, format control, ods procedure tables output data sets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675449#M23620</link>
      <description>&lt;P&gt;With question 1 try this SAS option: options nocenter;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 01:24:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675449#M23620</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-08-09T01:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: several questions: options control, format control, ods procedure tables output data sets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675444#M23619</link>
      <description>&lt;P&gt;This blog post will help answer Questions 3/4&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2017/01/09/ods-output-any-statistic.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Q2:&lt;/P&gt;
&lt;P&gt;I usually recommend using PROC EXPORT to get the structure of code needed - printed to the log and then customize as needed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n0jcjrzsseiw2qn1gi12k645u75y.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en"&gt;https://documentation.sas.com/?docsetId=proc&amp;amp;docsetTarget=n0jcjrzsseiw2qn1gi12k645u75y.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&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;Q3:&lt;/P&gt;
&lt;P&gt;The code is slightly backwards, you reversed the table name and the name of the output data set. It should be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;*incorrect;
ods output bprawfreqs=OneWayFreq;

*correct;
ods output OneWayFreq = bprawfreqs;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No idea what you mean with Q1.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;FYI - its likely significantly easier to answer your questions if you take some time to format them and to post them separately unless they're related like 3/4.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-USER uid="273054"&gt;&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;this is a stored-up list.&lt;/P&gt;
&lt;P&gt;1) Somewhere, i've seen that it is possible get rid of that centered output and have left justified output in the results viewer window. What was showed was the specific command that went in the syntax file. Stumbling around, i found a directory or file called options. I'm looking for a permanent fix. Do modify the options file? What option name and how done?&lt;/P&gt;
&lt;P&gt;2) Today, i wanted to write out a text data file. In spss i'd say&lt;/P&gt;
&lt;P&gt;write outfile='path string' var list (optional Fortran-type format specification). Nice and simple and highly controllable. I see in Cody's book how to export an excel file. Mplus, the receiving program, takes only text files. In SAS, how would i write out a text data file and, if desired, control variable formats and new lines. For example: recid y1-y50 (f4.0,2x,25f3.0/6x,25f3.0).&lt;/P&gt;
&lt;P&gt;3) I want to export a set of frequency tables to a dataset. Based on Cody's book I used this&lt;/P&gt;
&lt;P&gt;52 ods output bprawfreqs=OneWayFreq;&lt;BR /&gt;53 proc freq data=pbitems; tables dpb4-dpb16; run;&lt;/P&gt;
&lt;P&gt;WARNING: Output 'bprawfreqs' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options&lt;BR /&gt;are used to produce the requested output object. For example, verify that the&lt;BR /&gt;NOPRINT option is not used.&lt;/P&gt;
&lt;P&gt;So. i believe the object name is correct because i did and ODS Trace command. I assume that the file (bprawfreqs is just a sas data set and it's location is controlled by the active lib statement (Correct or not?)&lt;/P&gt;
&lt;P&gt;I read the documentation for proc freq and see that there is an "out' subcommand for a table statement. However, as i understand the documentation what is written out to the named dataset is only the last named frequency/crosstab table in the table subcommand. That's useless and it's hard to believe that is true.&lt;/P&gt;
&lt;P&gt;4) I want&amp;nbsp; to come back to the output export problem. Recently i was running GEE models Working through the iterations of IV variable combinations, i had a list of 26 or 27 and I had to run each combination with two different DVs. The PIs requested that i summarize the results and what they wanted to see the coefficients and their significance values. (I want to say something to head off Proc Report: The coefficients and their significance are looked at and discussed, decisions are made, and the syntax and mht files could be deleted because they served their function).&amp;nbsp; In spss i could say OMS "analysis type" select if table="coefficients" ahead of the first GEE model and OMS End after the last one. In Cody i read that i can specify ods select &amp;gt;object&amp;lt; (persist); and that will do what i want. True?&lt;/P&gt;
&lt;P&gt;That does it for now. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 02:10:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675444#M23619</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-09T02:10:37Z</dc:date>
    </item>
    <item>
      <title>several questions: options control, format control, ods procedure tables output data sets</title>
      <link>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675435#M23618</link>
      <description>&lt;P&gt;this is a stored-up list.&lt;/P&gt;&lt;P&gt;1) Somewhere, i've seen that it is possible get rid of that centered output and have left justified output in the results viewer window. What was showed was the specific command that went in the syntax file. Stumbling around, i found a directory or file called options. I'm looking for a permanent fix. Do modify the options file? What option name and how done?&lt;/P&gt;&lt;P&gt;2) Today, i wanted to write out a text data file. In spss i'd say&lt;/P&gt;&lt;P&gt;write outfile='path string' var list (optional Fortran-type format specification). Nice and simple and highly controllable. I see in Cody's book how to export an excel file. Mplus, the receiving program, takes only text files. In SAS, how would i write out a text data file and, if desired, control variable formats and new lines. For example: recid y1-y50 (f4.0,2x,25f3.0/6x,25f3.0).&lt;/P&gt;&lt;P&gt;3) I want to export a set of frequency tables to a dataset. Based on Cody's book I used this&lt;/P&gt;&lt;P&gt;52 ods output bprawfreqs=OneWayFreq;&lt;BR /&gt;53 proc freq data=pbitems; tables dpb4-dpb16; run;&lt;/P&gt;&lt;P&gt;WARNING: Output 'bprawfreqs' was not created. Make sure that the output object name, label, or path is spelled correctly. Also, verify that the appropriate procedure options&lt;BR /&gt;are used to produce the requested output object. For example, verify that the&lt;BR /&gt;NOPRINT option is not used.&lt;/P&gt;&lt;P&gt;So. i believe the object name is correct because i did and ODS Trace command. I assume that the file (bprawfreqs is just a sas data set and it's location is controlled by the active lib statement (Correct or not?)&lt;/P&gt;&lt;P&gt;I read the documentation for proc freq and see that there is an "out' subcommand for a table statement. However, as i understand the documentation what is written out to the named dataset is only the last named frequency/crosstab table in the table subcommand. That's useless and it's hard to believe that is true.&lt;/P&gt;&lt;P&gt;4) I want&amp;nbsp; to come back to the output export problem. Recently i was running GEE models Working through the iterations of IV variable combinations, i had a list of 26 or 27 and I had to run each combination with two different DVs. The PIs requested that i summarize the results and what they wanted to see the coefficients and their significance values. (I want to say something to head off Proc Report: The coefficients and their significance are looked at and discussed, decisions are made, and the syntax and mht files could be deleted because they served their function).&amp;nbsp; In spss i could say OMS "analysis type" select if table="coefficients" ahead of the first GEE model and OMS End after the last one. In Cody i read that i can specify ods select &amp;gt;object&amp;lt; (persist); and that will do what i want. True?&lt;/P&gt;&lt;P&gt;That does it for now. Thanks.&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;P&gt;&amp;nbsp;&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 20:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/several-questions-options-control-format-control-ods-procedure/m-p/675435#M23618</guid>
      <dc:creator>emaguin</dc:creator>
      <dc:date>2020-08-08T20:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a frequency table using age</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-frequency-table-using-age/m-p/675431#M23617</link>
      <description>&lt;P&gt;I think this will work&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where  Type in ("genderC", "genderB", "sex_o") and 18&amp;lt;=age&amp;lt;=50&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;This assumes age is numeric&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 19:54:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-frequency-table-using-age/m-p/675431#M23617</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-08-08T19:54:33Z</dc:date>
    </item>
    <item>
      <title>Creating a frequency table using age</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-a-frequency-table-using-age/m-p/675424#M23616</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a frequency table for gender and sexual orientation between the ages of 18-50. Where am I going wrong.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Code:
proc freq data=WORK.SYPHILIS;
	tables genderC genderB sex_o age RACE / plots=(freqplot cumfreqplot);
	where  Type in ("genderC", "genderB", "sex_o", age "18-50");
run;

Log:

87         proc freq data=WORK.SYPHILIS;
 88         tables genderC genderB sex_o age RACE / plots=(freqplot cumfreqplot);
 89         where  Type in ("genderC", "genderB", "sex_o", age "18-50");
                                                            ___
                                                            22
                                                            202
 ERROR: Syntax error while parsing WHERE clause.
 ERROR 22-322: Syntax error, expecting one of the following: a quoted string, ).  
 ERROR 202-322: The option or parameter is not recognized and will be ignored.
 90         run;
 &lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Aug 2020 18:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-a-frequency-table-using-age/m-p/675424#M23616</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-08T18:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Skipping cycles based on dates contained in another dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Skipping-cycles-based-on-dates-contained-in-another-dataset/m-p/675260#M23615</link>
      <description>Sorry for the late answer but I was caught up at work.&lt;BR /&gt;The code eventually worked, there were just some changes needed to optimize it that my team leader showed me after being able to reach me.&lt;BR /&gt;So thanks a lot for the advice!</description>
      <pubDate>Fri, 07 Aug 2020 16:23:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Skipping-cycles-based-on-dates-contained-in-another-dataset/m-p/675260#M23615</guid>
      <dc:creator>MMariani</dc:creator>
      <dc:date>2020-08-07T16:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-sql-to-copy-records-from-one-table-to-another/m-p/675238#M23614</link>
      <description>Many many thanks for ur support. I m sorry as i m a new learner and will keep posting these qstions.</description>
      <pubDate>Fri, 07 Aug 2020 13:34:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-sql-to-copy-records-from-one-table-to-another/m-p/675238#M23614</guid>
      <dc:creator>Naveen1111</dc:creator>
      <dc:date>2020-08-07T13:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to chain datasets with same name and variables structure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675230#M23613</link>
      <description>data vzk_2020;&lt;BR /&gt;set vzk_2020_1 -  vzk_2020_8 ;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;OR Just:&lt;BR /&gt;data vzk_2020;&lt;BR /&gt;set vzk_2020_: ;&lt;BR /&gt;run;</description>
      <pubDate>Fri, 07 Aug 2020 11:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675230#M23613</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-08-07T11:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-sql-to-copy-records-from-one-table-to-another/m-p/675214#M23612</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;
insert into a
(select * from b where /* add condition that selects the two rows */)
;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;For more detailed help, supply example data for both datasets in usable form (data steps with datalines).&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:44:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-sql-to-copy-records-from-one-table-to-another/m-p/675214#M23612</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-07T10:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to chain datasets with same name and variables structure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675213#M23611</link>
      <description>thank you Kurt, have a nice day!</description>
      <pubDate>Fri, 07 Aug 2020 10:43:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675213#M23611</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2020-08-07T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to chain datasets with same name and variables structure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675211#M23610</link>
      <description>&lt;P&gt;This is where you need a macro. You need&amp;nbsp;&lt;EM&gt;one&lt;/EM&gt; SET statement, but multiple datasets in it.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%macro dsnames;
%do i = 1 %to 8;
  vzk_2020_&amp;amp;i.
%end;
%mend;

data vzk_2020;
set
  %dsnames
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Take note where I placed semicolons, and where I omitted them.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:38:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675211#M23610</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-07T10:38:31Z</dc:date>
    </item>
    <item>
      <title>how to chain datasets with same name and variables structure</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675209#M23609</link>
      <description>&lt;P&gt;Hello SAS experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a list of datasets with the same name and variables structure, and I want to add them all in a single one.&lt;/P&gt;&lt;P&gt;this doesn't work:&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;data&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; vzk_2020;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;do&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; i=&lt;/FONT&gt;&lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;1&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT face="Courier New" size="3" color="#0000ff"&gt;to&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT face="Courier New" size="3" color="#008080"&gt;8&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;set&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; vzk_2020_i;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#0000ff"&gt;end&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3" color="#000080"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;what's the correct way?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;regards,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;PY&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:33:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-to-chain-datasets-with-same-name-and-variables-structure/m-p/675209#M23609</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2020-08-07T10:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: proc sql like operator</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-sql-like-operator/m-p/675208#M23608</link>
      <description>&lt;P&gt;thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-sql-like-operator/m-p/675208#M23608</guid>
      <dc:creator>Naveen1111</dc:creator>
      <dc:date>2020-08-07T10:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Creating three new variables in a panel ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-three-new-variables-in-a-panel/m-p/675206#M23607</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-USER uid="340611"&gt;&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;DIV class="forum-topic-flex-article"&gt;
&lt;DIV class="forum-article"&gt;
&lt;DIV class="forum-post"&gt;
&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. I have several variables which are in percentage (they have been calculated using avg() format=percent7.2 ). I need to convert these to numbers. so for example&amp;nbsp;91.70% should be converted to 0.917.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks so much in advance for your help.&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;once more: a format only changes how a variable is displayed, not the value of the variable.So removing the format from the variable should solve that issue.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Aug 2020 10:28:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-three-new-variables-in-a-panel/m-p/675206#M23607</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-08-07T10:28:38Z</dc:date>
    </item>
    <item>
      <title>proc sql to copy records from one table to another</title>
      <link>https://communities.sas.com/t5/New-SAS-User/proc-sql-to-copy-records-from-one-table-to-another/m-p/675205#M23606</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i have one question. There are two datasets A and B, want to move/copy two rows from table B to A. Could someone help me which syntax I should use IN proc SQL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Navin&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Aug 2020 13:07:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/proc-sql-to-copy-records-from-one-table-to-another/m-p/675205#M23606</guid>
      <dc:creator>Naveen1111</dc:creator>
      <dc:date>2020-08-08T13:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot individual variables over time</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675122#M23605</link>
      <description>And it's likely easier if you add the LCLM and UCLM options to the PROC MEANS to get the lower and upper confidence limits of the mean if that's what you prefer.</description>
      <pubDate>Thu, 06 Aug 2020 19:45:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675122#M23605</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T19:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot individual variables over time</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675121#M23604</link>
      <description>This is definitely possible, take a look at the VBARPARM documentation within SGPLOT and see what options it offers to add them on. &lt;BR /&gt;Hint: LIMITLOWER/LIMITUPPER&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n0mc5dtithid5mn13c54dlgaceq3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=grstatproc&amp;amp;docsetTarget=n0mc5dtithid5mn13c54dlgaceq3.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:43:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675121#M23604</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T19:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot individual variables over time</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675120#M23603</link>
      <description>&lt;P&gt;Thank you Reeza!! It worked! Is there a way I can also add standard deviation to the graph as well?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:31:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675120#M23603</guid>
      <dc:creator>cdunlea</dc:creator>
      <dc:date>2020-08-06T19:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I plot individual variables over time</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675117#M23602</link>
      <description>&lt;P&gt;When you post code please use a code block so that your code is formatted and legible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=wide_merged_file_sans_pooled mean stddev median min max;
var gmcsf_fuvisit_f0 gmcsf_fuvisit_f1 gmcsf_fuvisit_f2 gmcsf_fuvisit_f3 gmcsf_fuvisit_f5
gmcsf_fuvisit_f6 gmcsf_fuvisit_f7 gmcsf_fuvisit_f8; 
run;

 &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;1. Save output from PROC MEANS to a data set&lt;/P&gt;
&lt;P&gt;2. Graph data from data set&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;#1 is to add an ODS OUTPUT statement to capture the output, there are multiple ways to do this but this provides the data in a nice format for graphing. You do need to add the STACKODS option on the PROC MEANS statement as well.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=wide_merged_file_sans_pooled mean stddev median min max STACKODS;
var gmcsf_fuvisit_f0 gmcsf_fuvisit_f1 gmcsf_fuvisit_f2 gmcsf_fuvisit_f3 gmcsf_fuvisit_f5
gmcsf_fuvisit_f6 gmcsf_fuvisit_f7 gmcsf_fuvisit_f8; 
ods output summary = summaryStats;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;#2 Graph it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sgplot data=summaryStats;
vbarparm category = variable response=mean;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-USER uid="335031"&gt;&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello All, I am attempting to plot the means of 8 individual variables in my dataset over time. I am using SAS university so proc gplot is not an option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want is a way to take my proc means and plot it. So far nothing has worked. Here is the proc means I am running&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc means data=wide_merged_file_sans_pooled mean stddev median min max;&lt;BR /&gt;var gmcsf_fuvisit_f0 gmcsf_fuvisit_f1 gmcsf_fuvisit_f2 gmcsf_fuvisit_f3 gmcsf_fuvisit_f5&lt;BR /&gt;gmcsf_fuvisit_f6 gmcsf_fuvisit_f7 gmcsf_fuvisit_f8; run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to take the results of this proc means and plot it with an x-axis of "fuvisit"(each variable is a follow up visit) and a y axis of "Mean" along with standard deviation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any advice is appreciated.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675117#M23602</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T19:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Remove decimal from variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Remove-decimal-from-variable/m-p/675113#M23601</link>
      <description>Is it character or numeric variable?</description>
      <pubDate>Thu, 06 Aug 2020 19:19:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Remove-decimal-from-variable/m-p/675113#M23601</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T19:19:49Z</dc:date>
    </item>
    <item>
      <title>How do I plot individual variables over time</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675112#M23600</link>
      <description>&lt;P&gt;Hello All, I am attempting to plot the means of 8 individual variables in my dataset over time. I am using SAS university so proc gplot is not an option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I want is a way to take my proc means and plot it. So far nothing has worked. Here is the proc means I am running&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc means data=wide_merged_file_sans_pooled mean stddev median min max;&lt;BR /&gt;var gmcsf_fuvisit_f0 gmcsf_fuvisit_f1 gmcsf_fuvisit_f2 gmcsf_fuvisit_f3 gmcsf_fuvisit_f5&lt;BR /&gt;gmcsf_fuvisit_f6 gmcsf_fuvisit_f7 gmcsf_fuvisit_f8; run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to take the results of this proc means and plot it with an x-axis of "fuvisit"(each variable is a follow up visit) and a y axis of "Mean" along with standard deviation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-plot-individual-variables-over-time/m-p/675112#M23600</guid>
      <dc:creator>cdunlea</dc:creator>
      <dc:date>2020-08-06T19:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Saving files in SAS University Edition</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Saving-files-in-SAS-University-Edition/m-p/675110#M23599</link>
      <description>Set up a libname to where you want the files stored and move the files there. You can use PROC COPY or PROC DATASETS to move them over efficiently. &lt;BR /&gt;&lt;BR /&gt;libname myFiles '/folders/myfolders/Proj1234/data/';&lt;BR /&gt;&lt;BR /&gt;proc copy in=work out=myFiles;&lt;BR /&gt;run;</description>
      <pubDate>Thu, 06 Aug 2020 19:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Saving-files-in-SAS-University-Edition/m-p/675110#M23599</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-06T19:12:02Z</dc:date>
    </item>
    <item>
      <title>Saving files in SAS University Edition</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Saving-files-in-SAS-University-Edition/m-p/675109#M23598</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it is a very basic question but my search did not yield satisfactory results so far.&lt;/P&gt;&lt;P&gt;I want to save data files permanently from my work library. Do I have to export them into myfolders or is there a more convenient way to do this in SAS University edition?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for any help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 19:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Saving-files-in-SAS-University-Edition/m-p/675109#M23598</guid>
      <dc:creator>Tim_sas_</dc:creator>
      <dc:date>2020-08-06T19:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove decimal from variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Remove-decimal-from-variable/m-p/675098#M23597</link>
      <description>&lt;P&gt;compress(var,'.')&amp;nbsp; &amp;nbsp;should work?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 18:20:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Remove-decimal-from-variable/m-p/675098#M23597</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-08-06T18:20:58Z</dc:date>
    </item>
    <item>
      <title>Remove decimal from variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Remove-decimal-from-variable/m-p/675095#M23596</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do i remove a decimal from a variable?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example - go from:&lt;/P&gt;
&lt;P&gt;&lt;U&gt;ID&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;3.4&lt;/P&gt;
&lt;P&gt;66.5&lt;/P&gt;
&lt;P&gt;z4.1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to:&lt;/P&gt;
&lt;P&gt;&lt;U&gt;ID&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;34&lt;/P&gt;
&lt;P&gt;665&lt;/P&gt;
&lt;P&gt;z41&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this possible using the cat or catx function?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 18:17:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Remove-decimal-from-variable/m-p/675095#M23596</guid>
      <dc:creator>marleeakerson</dc:creator>
      <dc:date>2020-08-06T18:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Creating three new variables in a panel ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-three-new-variables-in-a-panel/m-p/675093#M23595</link>
      <description>&lt;P&gt;Sort by brand, year and week.&lt;/P&gt;
&lt;P&gt;Then run a data step:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
by brand;
retain id count 0;
if first.brand
then do;
  id + 1;
  count = 1;
end;
else count + 1;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;To display the percent value in its raw form, just change the format to a "normal" one like 8.3.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2020 18:14:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-three-new-variables-in-a-panel/m-p/675093#M23595</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-06T18:14:02Z</dc:date>
    </item>
    <item>
      <title>Creating three new variables in a panel ?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Creating-three-new-variables-in-a-panel/m-p/675085#M23594</link>
      <description>&lt;DIV class="forum-topic-flex-article"&gt;&lt;DIV class="forum-article"&gt;&lt;DIV class="forum-post"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I have a panel dataset which includes weekly data for several brands across four years (250 observations per brand). I appreciate if you help me with doing the following three things (I apologize in advance if I shouldn't ask multiple questions under one topic). Also sorry I cannot share a sample of my data due to NDA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. My dataset includes a column named "brand_name". I want to create a new column ("id") which uniquely identifies each brand. So it should take on the same value for all the 250 rows associated with each brand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. I need a new variable which assigns a number (from 1 to 250) to each observation for each brand. My dataset includes two columns "Year0" and "week". For each brand, my data starts from the 6th week of 2014 up until 52nd week of 2014. Then, from week 0 of 2015 to week 52 of 2015, and so on. In other words, when "Year0" is 2014, "week" starts from 6 all the way to 52. Then for the next row, in which "Year0" is 2015,&amp;nbsp;"week" is 0 (so the variable week starts over with a change in Year0). The new variable should assign 1 whenever Year0 is 2014 and week is 6, and continue this until the last observation, for which it should be 250.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. I have several variables which are in percentage (they have been calculated using avg() format=percent7.2 ). I need to convert these to numbers. so for example&amp;nbsp;91.70% should be converted to 0.917.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks so much in advance for your help.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="KudosButton lia-button-image-kudos-wrapper lia-component-kudos-widget-button-version-3 lia-component-kudos-widget-button-horizontal lia-component-kudos-widget-button lia-component-kudos-action lia-component-message-view-widget-kudos-action"&gt;&lt;DIV class="lia-button-image-kudos lia-button-image-kudos-horizontal lia-button-image-kudos-enabled lia-button-image-kudos-not-kudoed lia-button"&gt;&lt;DIV class="lia-button-image-kudos-count"&gt;&lt;SPAN class="lia-link-navigation kudos-count-link lia-link-disabled"&gt;&lt;SPAN class="MessageKudosCount lia-component-kudos-widget-message-kudos-count"&gt;0&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-button-image-kudos-label lia-component-kudos-widget-kudos-count-label"&gt;Likes&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="lia-button-image-kudos-give"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Aug 2020 17:52:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Creating-three-new-variables-in-a-panel/m-p/675085#M23594</guid>
      <dc:creator>AntonioFinn</dc:creator>
      <dc:date>2020-08-06T17:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Extract first and last name from character variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674913#M23593</link>
      <description>&lt;P&gt;Sorry, it seems that I had some misunderstanding;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try next code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have; 
 length note $200.;
 input note $ ;
 note = tranwrd ( note, "_", " " );
cards;
This_is_the_Requestor:_Mary_L._Santiago_Reason:
Additional_text_This_is_the_Requestor:_John_Doe_Reason:_stuff
This_is_the_Requestor:_Tyler_Nguyen_Reason:_text_text
;
run;

data want;
 set have;
     pos1 = findw(note,"Requestor:");
     pos2 = findw(note,"Reason:");
     fullname = strip(substr(note,pos1+10,pos2-pos1-10));&lt;BR /&gt;     drop pos1 pos2;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 07:31:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674913#M23593</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-06T07:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extract first and last name from character variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674904#M23592</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
set have;
length name $30;
note = scan(note,2,':');
call scan(note,-1,pos,le,'_','m');
name = translate(substr(note,2,pos - 2),' ','_');
keep name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 06:53:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674904#M23592</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-06T06:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Extract first and last name from character variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674898#M23591</link>
      <description>&lt;P&gt;As soon as personal names are involved, sooner or later things will get interesting. Without a proper delimiter between first-name and last-name this problem can't be solved, because the number of words forming first-name and last-name is rarely two (one word for each), starting the interesting part: from the second to the next-to-last word you have to decide, whether the word belongs to first-name or last-name. This is pure guesswork and will not lead to usable results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following step extracts the names and stores in in one variable:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set have;
   
   length FullName $ 40 rxName 8;
   retain rxName;
   drop rxName;
   
   if _n_ = 1 then do;
      rxName = prxparse('/requestor:_(.+)_reason/i');
   end;
   
   if prxmatch(rxName, note) then do;
      FullName = prxposn(rxName, 1, note);
      FullName = translate(FullName, ' ', '_');
   end;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 05:26:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674898#M23591</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-08-06T05:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Extract first and last name from character variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674894#M23590</link>
      <description>&lt;P&gt;The delimiter between the two names id ":" then:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;first_name = scan(note,1,":");
second_name = scan(note,2,":");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 04:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674894#M23590</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-06T04:35:33Z</dc:date>
    </item>
    <item>
      <title>Extract first and last name from character variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674887#M23589</link>
      <description>&lt;P&gt;I have a variable that has a first name and last name embedded in it. How can I extract the name into a new variable, assuming it always comes after "Requestor: " and before "Reason:"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have; 
 length note $200.;
 input note $ ;
cards;
This_is_the_Requestor:_Mary_L._Santiago_Reason:
Additional_text_This_is_the_Requestor:_John_Doe_Reason:_stuff
This_is_the_Requestor:_Tyler_Nguyen_Reason:_text_text
;
run;

data have;
 set have;
 note = tranwrd ( note, "_", " " );
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Aug 2020 01:51:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Extract-first-and-last-name-from-character-variable/m-p/674887#M23589</guid>
      <dc:creator>bkq32</dc:creator>
      <dc:date>2020-08-06T01:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674860#M23588</link>
      <description>&lt;P&gt;1) If the AGE is a group given as "18-50" then use&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;STRONG&gt;where age = "18-50";&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;&amp;nbsp; If AGE is a number like 25 then you can use&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;where age between 18 and 50;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2) The title of your post is "&lt;SPAN&gt;How do I import a CSV file into the SAS library".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;You got the solution to your question.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; The new post dealing how to subset your date according to age group&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; should be posted as a new query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 20:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674860#M23588</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-05T20:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674857#M23587</link>
      <description>&lt;P&gt;Attached is my data. Again, my where statement was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where age between 18 and 50&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 20:33:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674857#M23587</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674851#M23586</link>
      <description>We don't have your data so can only guess at what you're asking...if you need specific help you need to provide sample data.</description>
      <pubDate>Wed, 05 Aug 2020 20:17:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674851#M23586</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-05T20:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674847#M23585</link>
      <description>&lt;P&gt;It is a group age...(Age of people between the age of 18 and 50)&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got a frequency table from age 18-50....but I didn't use the word "is"..Does it matter&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables age sex_o genderC genderB RACE / plots=(freqplot cumfreqplot);
	where age between 18 and 50;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 20:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674847#M23585</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T20:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674846#M23584</link>
      <description>&lt;P&gt;Your variable is named age. What kind of values does it contain?&lt;/P&gt;
&lt;P&gt;The WHERE statement may be either&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where age is between 18 and 50&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where age is "18 to 50"&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;depending on age variable&amp;nbsp; - is it an age of a person or&lt;/P&gt;
&lt;P&gt;is it a group age/&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:52:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674846#M23584</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-05T19:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674844#M23583</link>
      <description>&lt;P&gt;I figured it out..I did where age between 19 and 50;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:48:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674844#M23583</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T19:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674839#M23582</link>
      <description>&lt;P&gt;This is what it says:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables age sex_o genderC genderB / plots=(freqplot cumfreqplot);
	where age_group= '18 to 50';
run;

Log: 

 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         /*
 74          *
 75          * Task code generated by SAS Studio 3.8
 76          *
 77          * Generated on '8/5/20, 12:06 PM'
 78          * Generated by 'u49152646'
 79          * Generated on server 'ODAWS02-USW2.ODA.SAS.COM'
 80          * Generated on SAS platform 'Linux LIN X64 3.10.0-1062.9.1.el7.x86_64'
 81          * Generated on SAS version '9.04.01M6P11072018'
 82          * Generated on browser 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
 82       ! Chrome/84.0.4147.105 Safari/537.36'
 83          * Generated on web client
 83       ! 'https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00&amp;amp;ticket=ST-58631-NKEgz3Gaqesii60Jleii-cas'
 84          *
 85          */
 86         
 87         proc freq data=WORK.SYPHILIS;
 88         tables age sex_o genderC genderB / plots=(freqplot cumfreqplot);
 89         where age_group= '18 to 50';
 ERROR: Variable age_group is not on file WORK.SYPHILIS.
 90         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              1375.50k
       OS Memory           38572.00k
       Timestamp           08/05/2020 07:33:34 PM
       Step Count                        265  Switch Count  0
       Page Faults                       0
       Page Reclaims                     242
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 91         
 92         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 104        &lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:42:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674839#M23582</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T19:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674836#M23581</link>
      <description>&lt;P&gt;It says that the age_group is not on the work.syphilis file. Where did I go wrong?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:36:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674836#M23581</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T19:36:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674835#M23580</link>
      <description>&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables age sex_o genderC genderB / plots=(freqplot cumfreqplot);
	where age_group= '18 to 50';
run;

Log: 

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         /*
 74          *
 75          * Task code generated by SAS Studio 3.8
 76          *
 77          * Generated on '8/5/20, 12:06 PM'
 78          * Generated by 'u49152646'
 79          * Generated on server 'ODAWS02-USW2.ODA.SAS.COM'
 80          * Generated on SAS platform 'Linux LIN X64 3.10.0-1062.9.1.el7.x86_64'
 81          * Generated on SAS version '9.04.01M6P11072018'
 82          * Generated on browser 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
 82       ! Chrome/84.0.4147.105 Safari/537.36'
 83          * Generated on web client
 83       ! 'https://odamid-usw2.oda.sas.com/SASStudio/main?locale=en_US&amp;amp;zone=GMT-07%253A00&amp;amp;ticket=ST-58631-NKEgz3Gaqesii60Jleii-cas'
 84          *
 85          */
 86         
 87         proc freq data=WORK.SYPHILIS;
 88         tables age sex_o genderC genderB / plots=(freqplot cumfreqplot);
 89         where age_group= '18 to 50';
 ERROR: Variable age_group is not on file WORK.SYPHILIS.
 90         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              1375.50k
       OS Memory           38572.00k
       Timestamp           08/05/2020 07:33:34 PM
       Step Count                        265  Switch Count  0
       Page Faults                       0
       Page Reclaims                     242
       Page Swaps                        0
       Voluntary Context Switches        0
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           0
       
 91         
 92         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 104        &lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674835#M23580</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T19:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674833#M23579</link>
      <description>You add a WHERE statement to filter out/in the groups you want. &lt;BR /&gt;&lt;BR /&gt;WHERE age_group = '18 to 50';</description>
      <pubDate>Wed, 05 Aug 2020 19:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674833#M23579</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-05T19:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674827#M23578</link>
      <description>&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674827#M23578</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T19:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674825#M23577</link>
      <description>&lt;P&gt;I have it now. I need a frequency table for an age group (18-50) along with gender&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc freq data=WORK.SYPHILIS;
	tables genderC genderB age / plots=(freqplot cumfreqplot);
run;

How do I write the code for an age group of 18-50

&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:01:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674825#M23577</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T19:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674824#M23576</link>
      <description>&lt;A href="https://video.sas.com/detail/video/4664358166001/using-the-import-data-utility-in-sas-studio" target="_blank"&gt;https://video.sas.com/detail/video/4664358166001/using-the-import-data-utility-in-sas-studio&lt;/A&gt;</description>
      <pubDate>Wed, 05 Aug 2020 19:00:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674824#M23576</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-05T19:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674819#M23575</link>
      <description>&lt;P&gt;You can use either proc import:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc import file="Path_and_FileName.csv"
            out=test dbms=csv 
            replace;
     getnames=yes;  /* assume first line contains variable names */
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Try it and if any issue post the full log showing your code and messages.&lt;/P&gt;
&lt;P&gt;Depending on data types you may have issues especially getting the wrong type.&lt;/P&gt;
&lt;P&gt;If possible post also a sample lines from the csv file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:52:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674819#M23575</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-08-05T18:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674816#M23574</link>
      <description>Yes it's possible. Use an Import Data task is likely your best bet if you're unfamiliar with SAS. &lt;BR /&gt;Or use PROC IMPORT. That creates a SAS data set that can then be worked with in SAS.</description>
      <pubDate>Wed, 05 Aug 2020 18:51:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674816#M23574</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-05T18:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674804#M23573</link>
      <description>&lt;P&gt;My end goal is to create a frequency table..it lets me enter the source of the data but the data set is not showing up in the library&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:03:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674804#M23573</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T18:03:09Z</dc:date>
    </item>
    <item>
      <title>How do I import a CSV file into the SAS library</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674803#M23572</link>
      <description>&lt;P&gt;How do I import a csv file into the library or is it possible?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 18:00:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-import-a-CSV-file-into-the-SAS-library/m-p/674803#M23572</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T18:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674790#M23571</link>
      <description>&lt;P&gt;I finally got it!! Thank you for all your help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 17:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674790#M23571</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T17:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674782#M23570</link>
      <description>&lt;P&gt;Got it...Now I have an output but it is empty...I tried coding a different way from the tutorial videos that you sent me...&lt;/P&gt;&lt;PRE&gt;data sample;
	infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv' dlm=',' firstobs=2;
	input rapid_syphilis race gendec genderb sex_o housing_status sessiondate age druguse condom risk;
run;

Log was pretty long but it says invalid data and gain my output data was empty:

 
 1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable _SASWSTEMP_ resolves to /home/u49152646/.sasstudio/.images/52784700-4b6e-40f6-aa6a-258160043ad9
 SYMBOLGEN:  Some characters in the above value which were subject to macro quoting have been unquoted for printing.
 SYMBOLGEN:  Macro variable GRAPHINIT resolves to GOPTIONS RESET=ALL GSFNAME=_GSFNAME;
 72         
 73         data sample;
 74         infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv' dlm=',' firstobs=2;
 75         input rapid_syphilis race gendec genderb sex_o housing_status sessiondate age druguse condom risk;
 76         run;
 
 NOTE: The infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv' is:
       Filename=/home/u49152646/EPG194/rapid_syphilis/sample.csv,
       Owner Name=u49152646,Group Name=oda,
       Access Permission=-rw-r--r--,
       Last Modified=04Aug2020:10:54:25,
       File Size (bytes)=826571
 
 NOTE: Invalid data for rapid_syphilis in line 2 1-8.
 NOTE: Invalid data for race in line 2 10-14.
 NOTE: Invalid data for gendec in line 2 16-19.
 NOTE: Invalid data for genderb in line 2 21-24.
 NOTE: Invalid data for sex_o in line 2 26-33.
 NOTE: Invalid data for housing_status in line 2 35-46.
 NOTE: Invalid data for sessiondate in line 2 48-65.
 NOTE: Invalid data for age in line 2 67-75.
 NOTE: Invalid data for condom in line 2 80-81.
 NOTE: Invalid data for risk in line 2 83-100.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 2         Received,White,Male,Male,Bisexual,Not Homeless,West Hollywood MTU,27-Apr-18,50,No,Did not use condom
      101  ,High 105
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=50 condom=. risk=. _ERROR_=1 _N_=1
 NOTE: Invalid data for rapid_syphilis in line 3 1-8.
 NOTE: Invalid data for race in line 3 10-14.
 NOTE: Invalid data for gendec in line 3 16-19.
 NOTE: Invalid data for genderb in line 3 21-24.
 NOTE: Invalid data for sex_o in line 3 26-36.
 NOTE: Invalid data for housing_status in line 3 38-49.
 NOTE: Invalid data for sessiondate in line 3 51-68.
 NOTE: Invalid data for age in line 3 70-78.
 NOTE: Invalid data for condom in line 3 83-84.
 NOTE: Invalid data for risk in line 3 86-103.
 3         Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,23,No,Did not use con
      101  dom,High 108
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=23 condom=. risk=. _ERROR_=1 _N_=2
 NOTE: Invalid data for rapid_syphilis in line 4 1-8.
 NOTE: Invalid data for race in line 4 10-14.
 NOTE: Invalid data for gendec in line 4 16-19.
 NOTE: Invalid data for genderb in line 4 21-24.
 NOTE: Invalid data for sex_o in line 4 26-33.
 NOTE: Invalid data for housing_status in line 4 35-42.
 NOTE: Invalid data for sessiondate in line 4 44-61.
 NOTE: Invalid data for age in line 4 63-71.
 NOTE: Invalid data for condom in line 4 76-77.
 NOTE: Invalid data for risk in line 4 79-96.
 4         Received,White,Male,Male,Bisexual,Homeless,West Hollywood MTU,28-Apr-18,49,No,Did not use condom,Hig
      101  h 101
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=49 condom=. risk=. _ERROR_=1 _N_=3
 NOTE: Invalid data for rapid_syphilis in line 5 1-12.
 NOTE: Invalid data for race in line 5 14-35.
 NOTE: Invalid data for gendec in line 5 37-40.
 NOTE: Invalid data for genderb in line 5 42-45.
 NOTE: Invalid data for sex_o in line 5 47-57.
 NOTE: Invalid data for housing_status in line 5 59-70.
 NOTE: Invalid data for sessiondate in line 5 72-89.
 NOTE: Invalid data for age in line 5 91-99.
 NOTE: Invalid data for condom in line 5 104-105.
 NOTE: Invalid data for risk in line 5 107-124.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 5         Not Received,Black/African American,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,
      101  52,No,Did not use condom,High 129
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=52 condom=. risk=. _ERROR_=1 _N_=4
 NOTE: Invalid data for rapid_syphilis in line 6 1-12.
 NOTE: Invalid data for race in line 6 14-18.
 NOTE: Invalid data for gendec in line 6 20-23.
 NOTE: Invalid data for genderb in line 6 25-28.
 NOTE: Invalid data for sex_o in line 6 30-40.
 NOTE: Invalid data for housing_status in line 6 42-53.
 NOTE: Invalid data for sessiondate in line 6 55-72.
 NOTE: Invalid data for age in line 6 74-82.
 NOTE: Invalid data for condom in line 6 87-88.
 NOTE: Invalid data for risk in line 6 90-103.
 6         Not Received,Asian,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,26,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=26 condom=. risk=. _ERROR_=1 _N_=5
 NOTE: Invalid data for rapid_syphilis in line 7 1-12.
 NOTE: Invalid data for race in line 7 14-18.
 NOTE: Invalid data for gendec in line 7 20-23.
 NOTE: Invalid data for genderb in line 7 25-28.
 NOTE: Invalid data for sex_o in line 7 30-40.
 NOTE: Invalid data for housing_status in line 7 42-53.
 NOTE: Invalid data for sessiondate in line 7 55-72.
 NOTE: Invalid data for age in line 7 74-82.
 NOTE: Invalid data for condom in line 7 87-88.
 NOTE: Invalid data for risk in line 7 90-103.
 7         Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,27,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=27 condom=. risk=. _ERROR_=1 _N_=6
 NOTE: Invalid data for rapid_syphilis in line 8 1-12.
 NOTE: Invalid data for race in line 8 14-35.
 NOTE: Invalid data for gendec in line 8 37-40.
 NOTE: Invalid data for genderb in line 8 42-45.
 NOTE: Invalid data for sex_o in line 8 47-58.
 NOTE: Invalid data for housing_status in line 8 60-71.
 NOTE: Invalid data for sessiondate in line 8 73-90.
 NOTE: Invalid data for age in line 8 92-100.
 NOTE: Invalid data for condom in line 8 105-106.
 NOTE: Invalid data for risk in line 8 108-125.
 8         Not Received,Black/African American,Male,Male,Heterosexual,Not Homeless,West Hollywood MTU,28-Apr-18
      101  ,39,No,Did not use condom,High 130
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=39 condom=. risk=. _ERROR_=1 _N_=7
 NOTE: Invalid data for rapid_syphilis in line 9 1-12.
 NOTE: Invalid data for race in line 9 14-24.
 NOTE: Invalid data for gendec in line 9 26-36.
 NOTE: Invalid data for genderb in line 9 38-41.
 NOTE: Invalid data for sex_o in line 9 43-58.
 NOTE: Invalid data for housing_status in line 9 60-71.
 NOTE: Invalid data for sessiondate in line 9 73-90.
 NOTE: Invalid data for age in line 9 92-100.
 NOTE: Invalid data for condom in line 9 105-106.
 NOTE: Invalid data for risk in line 9 108-121.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 9         Not Received,Multiracial,Transgender,Male,Unknown/Declined,Not Homeless,West Hollywood MTU,28-Apr-18
      101  ,39,No,Did use condom,Low 125
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=39 condom=. risk=. _ERROR_=1 _N_=8
 NOTE: Invalid data for rapid_syphilis in line 10 1-8.
 NOTE: Invalid data for race in line 10 10-14.
 NOTE: Invalid data for gendec in line 10 16-19.
 NOTE: Invalid data for genderb in line 10 21-24.
 NOTE: Invalid data for sex_o in line 10 26-36.
 NOTE: Invalid data for housing_status in line 10 38-49.
 NOTE: Invalid data for sessiondate in line 10 51-68.
 NOTE: Invalid data for age in line 10 70-78.
 NOTE: Invalid data for condom in line 10 83-84.
 NOTE: Invalid data for risk in line 10 86-99.
 10        Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,29,No,Did use condom,
      101  High 104
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=29 condom=. risk=. _ERROR_=1 _N_=9
 NOTE: Invalid data for rapid_syphilis in line 11 1-12.
 NOTE: Invalid data for race in line 11 14-18.
 NOTE: Invalid data for gendec in line 11 20-23.
 NOTE: Invalid data for genderb in line 11 25-28.
 NOTE: Invalid data for sex_o in line 11 30-40.
 NOTE: Invalid data for housing_status in line 11 42-53.
 NOTE: Invalid data for sessiondate in line 11 55-72.
 NOTE: Invalid data for age in line 11 74-82.
 NOTE: Invalid data for condom in line 11 87-88.
 NOTE: Invalid data for risk in line 11 90-103.
 11        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,26,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=26 condom=. risk=. _ERROR_=1 _N_=10
 NOTE: Invalid data for rapid_syphilis in line 12 1-12.
 NOTE: Invalid data for race in line 12 14-18.
 NOTE: Invalid data for gendec in line 12 20-23.
 NOTE: Invalid data for genderb in line 12 25-28.
 NOTE: Invalid data for sex_o in line 12 30-40.
 NOTE: Invalid data for housing_status in line 12 42-53.
 NOTE: Invalid data for sessiondate in line 12 55-72.
 NOTE: Invalid data for age in line 12 74-82.
 NOTE: Invalid data for condom in line 12 87-88.
 NOTE: Invalid data for risk in line 12 90-103.
 12        Not Received,Asian,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,21,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=21 condom=. risk=. _ERROR_=1 _N_=11
 NOTE: Invalid data for rapid_syphilis in line 13 1-12.
 NOTE: Invalid data for race in line 13 14-24.
 NOTE: Invalid data for gendec in line 13 26-29.
 NOTE: Invalid data for genderb in line 13 31-34.
 NOTE: Invalid data for sex_o in line 13 36-43.
 NOTE: Invalid data for housing_status in line 13 45-56.
 NOTE: Invalid data for sessiondate in line 13 58-75.
 NOTE: Invalid data for age in line 13 77-85.
 NOTE: Invalid data for condom in line 13 90-91.
 NOTE: Invalid data for risk in line 13 93-110.
 13        Not Received,Multiracial,Male,Male,Bisexual,Not Homeless,West Hollywood MTU,28-Apr-18,27,No,Did not 
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
      101  use condom,High 115
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=27 condom=. risk=. _ERROR_=1 _N_=12
 NOTE: Invalid data for rapid_syphilis in line 14 1-12.
 NOTE: Invalid data for race in line 14 14-18.
 NOTE: Invalid data for gendec in line 14 20-23.
 NOTE: Invalid data for genderb in line 14 25-28.
 NOTE: Invalid data for sex_o in line 14 30-40.
 NOTE: Invalid data for housing_status in line 14 42-53.
 NOTE: Invalid data for sessiondate in line 14 55-72.
 NOTE: Invalid data for age in line 14 74-82.
 NOTE: Invalid data for condom in line 14 87-88.
 NOTE: Invalid data for risk in line 14 90-103.
 14        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,61,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=61 condom=. risk=. _ERROR_=1 _N_=13
 NOTE: Invalid data for rapid_syphilis in line 15 1-12.
 NOTE: Invalid data for race in line 15 14-18.
 NOTE: Invalid data for gendec in line 15 20-23.
 NOTE: Invalid data for genderb in line 15 25-28.
 NOTE: Invalid data for sex_o in line 15 30-40.
 NOTE: Invalid data for housing_status in line 15 42-53.
 NOTE: Invalid data for sessiondate in line 15 55-72.
 NOTE: Invalid data for age in line 15 74-82.
 NOTE: Invalid data for condom in line 15 87-88.
 NOTE: Invalid data for risk in line 15 90-107.
 15        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,31,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=31 condom=. risk=. _ERROR_=1 _N_=14
 NOTE: Invalid data for rapid_syphilis in line 16 1-12.
 NOTE: Invalid data for race in line 16 14-35.
 NOTE: Invalid data for gendec in line 16 37-40.
 NOTE: Invalid data for genderb in line 16 42-45.
 NOTE: Invalid data for sex_o in line 16 47-57.
 NOTE: Invalid data for housing_status in line 16 59-70.
 NOTE: Invalid data for sessiondate in line 16 72-89.
 NOTE: Invalid data for age in line 16 91-99.
 NOTE: Invalid data for condom in line 16 104-105.
 NOTE: Invalid data for risk in line 16 107-124.
 16        Not Received,Black/African American,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,
      101  38,No,Did not use condom,High 129
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=38 condom=. risk=. _ERROR_=1 _N_=15
 NOTE: Invalid data for rapid_syphilis in line 17 1-12.
 NOTE: Invalid data for race in line 17 14-18.
 NOTE: Invalid data for gendec in line 17 20-23.
 NOTE: Invalid data for genderb in line 17 25-28.
 NOTE: Invalid data for sex_o in line 17 30-40.
 NOTE: Invalid data for housing_status in line 17 42-53.
 NOTE: Invalid data for sessiondate in line 17 55-72.
 NOTE: Invalid data for age in line 17 74-82.
 NOTE: Invalid data for condom in line 17 87-88.
 NOTE: Invalid data for risk in line 17 90-107.
 17        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,55,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=55 condom=. risk=. _ERROR_=1 _N_=16
 NOTE: Invalid data for rapid_syphilis in line 18 1-12.
 NOTE: Invalid data for race in line 18 14-18.
 NOTE: Invalid data for gendec in line 18 20-23.
 NOTE: Invalid data for genderb in line 18 25-28.
 NOTE: Invalid data for sex_o in line 18 30-40.
 NOTE: Invalid data for housing_status in line 18 42-53.
 NOTE: Invalid data for sessiondate in line 18 55-72.
 NOTE: Invalid data for age in line 18 74-82.
 NOTE: Invalid data for condom in line 18 87-88.
 NOTE: Invalid data for risk in line 18 90-107.
 RULE:     ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0                      
 18        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,21,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=21 condom=. risk=. _ERROR_=1 _N_=17
 NOTE: Invalid data for rapid_syphilis in line 19 1-12.
 NOTE: Invalid data for race in line 19 14-18.
 NOTE: Invalid data for gendec in line 19 20-23.
 NOTE: Invalid data for genderb in line 19 25-28.
 NOTE: Invalid data for sex_o in line 19 30-40.
 NOTE: Invalid data for housing_status in line 19 42-53.
 NOTE: Invalid data for sessiondate in line 19 55-72.
 NOTE: Invalid data for age in line 19 74-82.
 NOTE: Invalid data for condom in line 19 87-88.
 NOTE: Invalid data for risk in line 19 90-107.
 19        Not Received,White,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,18,No,Did not use
      101   condom,High 112
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=18 condom=. risk=. _ERROR_=1 _N_=18
 NOTE: Invalid data for rapid_syphilis in line 20 1-12.
 NOTE: Invalid data for race in line 20 14-18.
 NOTE: Invalid data for gendec in line 20 20-23.
 NOTE: Invalid data for genderb in line 20 25-28.
 NOTE: Invalid data for sex_o in line 20 30-40.
 NOTE: Invalid data for housing_status in line 20 42-53.
 NOTE: Invalid data for sessiondate in line 20 55-72.
 NOTE: Invalid data for age in line 20 74-82.
 NOTE: Invalid data for condom in line 20 87-88.
 NOTE: Invalid data for risk in line 20 90-103.
 20        Not Received,Asian,Male,Male,Gay/Lesbian,Not Homeless,West Hollywood MTU,28-Apr-18,26,No,Did use con
      101  dom,Low 107
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=26 condom=. risk=. _ERROR_=1 _N_=19
 NOTE: Invalid data for rapid_syphilis in line 21 1-12.
 NOTE: Invalid data for race in line 21 14-18.
 NOTE: Invalid data for gendec in line 21 20-23.
 NOTE: Invalid data for genderb in line 21 25-28.
 NOTE: Invalid data for sex_o in line 21 30-41.
 NOTE: Invalid data for housing_status in line 21 43-54.
 NOTE: Invalid data for sessiondate in line 21 56-73.
 NOTE: Invalid data for age in line 21 75-83.
 NOTE: Invalid data for condom in line 21 88-89.
 NOTE: Invalid data for risk in line 21 91-108.
 WARNING: Limit set by ERRORS= option reached.  Further errors of this type will not be printed.
 21        Not Received,Asian,Male,Male,Heterosexual,Not Homeless,West Hollywood MTU,28-Apr-18,22,No,Did not us
      101  e condom,High 113
 rapid_syphilis=. race=. gendec=. genderb=. sex_o=. housing_status=. sessiondate=. age=. druguse=22 condom=. risk=. _ERROR_=1 _N_=20
 NOTE: 6981 records were read from the infile '/home/u49152646/EPG194/rapid_syphilis/sample.csv'.
       The minimum record length was 90.
       The maximum record length was 155.
 NOTE: The data set WORK.SAMPLE has 6981 observations and 11 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.03 seconds
       user cpu time       0.01 seconds
       system cpu time     0.00 seconds
       memory              1407.65k
       OS Memory           33452.00k
       Timestamp           08/05/2020 03:52:58 PM
       Step Count                        120  Switch Count  2
       Page Faults                       0
       Page Reclaims                     251
       Page Swaps                        0
       Voluntary Context Switches        20
       Involuntary Context Switches      0
       Block Input Operations            1200
       Block Output Operations           1288
       
 
 77         
 78         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable GRAPHTERM resolves to GOPTIONS NOACCESSIBLE;
 90         &lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 16:55:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674782#M23570</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T16:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674777#M23569</link>
      <description>&lt;P&gt;When SAS tells you a file is not there, it's not there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you copy/paste the file path from the navigation pane in SAS Studio?&lt;/P&gt;
&lt;P&gt;Mind that the Linux system of SAS ODA is case sensitive, so correct spelling of pathnames is essential.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 16:41:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674777#M23569</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-05T16:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674750#M23568</link>
      <description>&lt;P&gt;So i see that the s drive is not on my computer or on SAS studio...My folder and csv file were the first thing i uploaded into files and folder shortcuts....Can you look at the code and tell me why it keeps saying file does not exist....and I watched the videos that's where I noticed the s drive was missing.&lt;/P&gt;&lt;PRE&gt;proc import datafile= '/home/u49152646/EPG194/rapid_syphilis.csv'
			DBMS= CSV
			out= work.import replace;
run;

Log:

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable _SASWSTEMP_ resolves to /home/u49152646/.sasstudio/.images/df44adc9-fc7c-4f0d-819e-04c0171340b2
 SYMBOLGEN:  Some characters in the above value which were subject to macro quoting have been unquoted for printing.
 SYMBOLGEN:  Macro variable GRAPHINIT resolves to GOPTIONS RESET=ALL GSFNAME=_GSFNAME;
 72         
 73         proc import datafile= '/home/u49152646/EPG194/rapid_syphilis.csv'
 74         DBMS= CSV
 75         out= work.import replace;
 76         run;
 
 NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to 
 WORK.PARMS.PARMS.SLIST.
 ERROR: Physical file does not exist, /home/u49152646/EPG194/rapid_syphilis.csv. 
 ERROR: Import unsuccessful.  See SAS Log for details.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.02 seconds
       user cpu time       0.02 seconds
       system cpu time     0.00 seconds
       memory              8220.50k
       OS Memory           39196.00k
       Timestamp           08/05/2020 03:15:33 PM
       Step Count                        78  Switch Count  5
       Page Faults                       0
       Page Reclaims                     1115
       Page Swaps                        0
       Voluntary Context Switches        26
       Involuntary Context Switches      0
       Block Input Operations            0
       Block Output Operations           40
       &lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 15:17:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674750#M23568</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T15:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674650#M23567</link>
      <description>&lt;P&gt;The tutorials found&amp;nbsp;&lt;A href="https://support.sas.com/en/software/ondemand-for-academics-support.html" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;also cover uploading your data.&lt;/P&gt;
&lt;P&gt;Did your teacher/tutor not guide you to these pages?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 05:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674650#M23567</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-05T05:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674649#M23566</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;LI-USER uid="340335"&gt;&lt;/LI-USER&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;SAS on demand for Academics&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This means your SAS runs in the AWS cloud on Linux and does not have access to your desktop environment, which includes the S: drive.&lt;/P&gt;
&lt;P&gt;You need to upload your file first with SAS Studio. After that, you can get the correct path to it by right-clicking on it in the SAS Studio navigation pane.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 05:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674649#M23566</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-05T05:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674648#M23565</link>
      <description>&lt;PRE&gt;/*Import a CSV File*/
options Mprint Mlogic SGEN;

%let path=S:\CSV Import;
options validvarname=v7;

proc import datafile= "s:\CSV Import\rapid_syphilis.csv"
			out=syphilis
			dbms=csv replace;
run;

This is my log:

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable _SASWSTEMP_ resolves to /home/u49152646/.sasstudio/.images/b114a1e4-9dfe-4060-b4d9-b3e222d0734a
 SYMBOLGEN:  Some characters in the above value which were subject to macro quoting have been unquoted for printing.
 SYMBOLGEN:  Macro variable GRAPHINIT resolves to GOPTIONS RESET=ALL GSFNAME=_GSFNAME;
 72         
 73         /*Import a CSV File*/
 74         options Mprint Mlogic SGEN;
 75         
 76         %let path=S:\CSV Import;
 77         options validvarname=v7;
 78         
 79         proc import datafile= "s:\CSV Import\rapid_syphilis.csv"
 80         out=syphilis
 81         dbms=csv replace;
 82         run;
 
 NOTE: Unable to open parameter catalog: SASUSER.PARMS.PARMS.SLIST in update mode. Temporary parameter values will be saved to 
 WORK.PARMS.PARMS.SLIST.
 ERROR: Physical file does not exist, /pbr/biconfig/940/Lev1/SASApp/s:\CSV Import\rapid_syphilis.csv. 
 ERROR: Import unsuccessful.  See SAS Log for details.
 NOTE: The SAS System stopped processing this step because of errors.
 NOTE: PROCEDURE IMPORT used (Total process time):
       real time           0.02 seconds
       user cpu time       0.02 seconds
       system cpu time     0.01 seconds
       memory              8217.00k
       OS Memory           39452.00k
       Timestamp           08/05/2020 05:14:25 AM
       Step Count                        133  Switch Count  5
       Page Faults                       0
       Page Reclaims                     1183
       Page Swaps                        0
       Voluntary Context Switches        25
       Involuntary Context Switches      1
       Block Input Operations            0
       Block Output Operations           40
       
 83         
 84         
 85         
 86         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 SYMBOLGEN:  Macro variable GRAPHTERM resolves to GOPTIONS NOACCESSIBLE;
 98         


&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2020 05:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674648#M23565</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T05:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674647#M23564</link>
      <description>&lt;P&gt;SAS on demand for Academics&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 05:18:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674647#M23564</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-05T05:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674641#M23563</link>
      <description>&lt;P&gt;Which kind of SAS installation are you using?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;University Edition in a downloaded virtual machine&lt;/LI&gt;
&lt;LI&gt;SAS on Demand for Academics&lt;/LI&gt;
&lt;LI&gt;licensed SAS in a local installation&lt;/LI&gt;
&lt;LI&gt;licensed SAS in a client/server installation&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All these need different methods for accessing external files and defining libnames, so it is essential for us to know how you use SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2020 04:17:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674641#M23563</guid>
      <dc:creator>KurtBremser</dc:creator>
      <dc:date>2020-08-05T04:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674635#M23562</link>
      <description>You need to show your whole code and log. We're seeing bits and pieces that don't make sense.</description>
      <pubDate>Wed, 05 Aug 2020 02:27:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674635#M23562</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-08-05T02:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674545#M23561</link>
      <description>&lt;PRE&gt;libname syphilis "/home/u49152645/syphilis";

Note:

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         libname syphilis "/home/u49152645/syphilis";
 NOTE: Library SYPHILIS does not exist.
 74         
 75         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 87         &lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Aug 2020 20:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674545#M23561</guid>
      <dc:creator>Kimberly_2020</dc:creator>
      <dc:date>2020-08-04T20:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Physical file does not exist</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674544#M23560</link>
      <description>&lt;P&gt;The filename should be in quotes&lt;/P&gt;
&lt;PRE&gt;proc import datafile= "s:\CSV Import\rapid_syphilis.csv"&lt;/PRE&gt;
&lt;P&gt;The only output Proc Import will create is a SAS data set. Not CSV.&lt;/P&gt;
&lt;P&gt;So you specify a library name and data set name.&lt;/P&gt;
&lt;P&gt;out= libname.dataset&lt;/P&gt;
&lt;P&gt;which uses a single dot between the SAS library name and the data set name. Multiple dots are right out. Data set names can only have letters, digits and the _ character.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you later want to send SAS data out to a CSV file you would use Proc Export.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2020 20:11:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Physical-file-does-not-exist/m-p/674544#M23560</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-08-04T20:11:59Z</dc:date>
    </item>
  </channel>
</rss>

