<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Output problem - Sas University Edition in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145585#M29008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't see a "command" to import a file. I see an invocation of a SAS macro program called&amp;nbsp; &lt;STRONG&gt;%macro glimmix_rasch &lt;/STRONG&gt; and without knowing WHAT type of code is being generated by this macro program (as I explained before), it is hard to know whether anything is correct. If, for example, your generated code is supposed to import a DATAFILE, then in your /folders/myfolders location, I would expect to see a file called FILENAME.TXT -- but I can't tell whether FILENAME.TXT is being read from or written to. So I cannot answer your question. That's why I recommended that you work with Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATAFILE= happens to be an option that you use in PROC IMPORT, so I find it confusing for DATAFILE= to be used as a macro parameter in the macro invocation statement. Based on what you have shown, I would expect someplace in the macro program to see this: &amp;amp;path/&amp;amp;datafile perhaps in an INFILE statement or to see this: datafile="&amp;amp;path/&amp;amp;datafile" in code. But, as I said, that is just speculation and really not useful. Again, I recommend that you work with Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Aug 2014 23:02:43 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2014-08-01T23:02:43Z</dc:date>
    <item>
      <title>Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145582#M29005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, i've a problem with sas ue, i can't see the output of macro that i'm using. i'm using this command for import the file:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;%macro glimmix_rasch (path='/folders/myfolders', datafile=filename.txt, idlen=2, itmstart=3, nitms=10 );&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've alredy read the different topic on this forum but i can't resolve the problem. Can you help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 10:12:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145582#M29005</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2014-08-01T10:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145583#M29006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; This is really a question for Tech Support. Without knowing what your macro program is doing, it is nearly impossible to make any suggestions.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 19:37:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145583#M29006</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-01T19:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145584#M29007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia, Can you tell me if the command for import the file is correct? I do not know if I set the right path and datafile. Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 19:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145584#M29007</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2014-08-01T19:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145585#M29008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't see a "command" to import a file. I see an invocation of a SAS macro program called&amp;nbsp; &lt;STRONG&gt;%macro glimmix_rasch &lt;/STRONG&gt; and without knowing WHAT type of code is being generated by this macro program (as I explained before), it is hard to know whether anything is correct. If, for example, your generated code is supposed to import a DATAFILE, then in your /folders/myfolders location, I would expect to see a file called FILENAME.TXT -- but I can't tell whether FILENAME.TXT is being read from or written to. So I cannot answer your question. That's why I recommended that you work with Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DATAFILE= happens to be an option that you use in PROC IMPORT, so I find it confusing for DATAFILE= to be used as a macro parameter in the macro invocation statement. Based on what you have shown, I would expect someplace in the macro program to see this: &amp;amp;path/&amp;amp;datafile perhaps in an INFILE statement or to see this: datafile="&amp;amp;path/&amp;amp;datafile" in code. But, as I said, that is just speculation and really not useful. Again, I recommend that you work with Tech Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 23:02:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145585#M29008</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-01T23:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145586#M29009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this the macro you're referring to:&lt;/P&gt;&lt;P&gt;&lt;A href="http://analytics.ncsu.edu/sesug/2013/PO-10.pdf" title="http://analytics.ncsu.edu/sesug/2013/PO-10.pdf"&gt;http://analytics.ncsu.edu/sesug/2013/PO-10.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so try running each step without the macro and see what happens. You can do that by first creating each macro variable and then running the program step by step rather than by invoking the macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. does the following work? Right off the bat, I can see that you have quotations in your path macro variable which would cause it to not work.&amp;nbsp; They have sample data and output and I would start with that. Pay close attention to how they called the macro, no spaces or quotation marks in the macro variables. Anyways, go through step by step like that and see if you can get it working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;%let path=&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;/folders/myfolders;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;%let datafile=filename.txt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;data one;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;infile &lt;SPAN style="color: #952193;"&gt;"&amp;amp;path\&amp;amp;datafile" &lt;/SPAN&gt;end = last;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;input person $ &lt;SPAN style="color: #009293;"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt;-&amp;amp;idlen @&amp;amp;itmstart (i01 - i&amp;amp;nitms) (&lt;SPAN style="color: #009293;"&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt;&lt;/SPAN&gt;);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;person = RIGHT(person);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;if last then call symputx(&lt;SPAN style="color: #952193;"&gt;'nperson'&lt;/SPAN&gt;,_n_);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 8px; font-family: Times;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"&gt;&lt;SPAN style="color: #0433ff;"&gt;%put &lt;/SPAN&gt;&amp;amp;nperson;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 23:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145586#M29009</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2014-08-01T23:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145587#M29010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Reeza is correct that you will need to be sure that your %LET statements are declared correctly. Also note that the "Windows slash" \ will not work in your path on the University Edition and so, you will need to "flip the slash" to be a "Unix slash" or / in the INFILE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Also, that means you should NOT pre-quote your path in the macro invocation. You show quotes around the value for PATH= and I believe that putting quotes there will cause you further problems. The quotes belong to the INFILE statement and they are there in the program. The quotes do NOT belong in the invocation where you supply the text string to use for &amp;amp;PATH.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/11603iBA9C84E9F41105B9/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="macro_code_from_paper.png" title="macro_code_from_paper.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Aug 2014 15:46:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145587#M29010</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-02T15:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145588#M29011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Cynthia!&amp;nbsp; now the software work , but when i do a simulation with a little number of observations , it work very well, but with the real data ( whit 25509 observations) it doesn't work,&amp;nbsp; remain "in esecution" for a long time. What is the problem? Thanks for all! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Aug 2014 08:40:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145588#M29011</guid>
      <dc:creator>EM1</dc:creator>
      <dc:date>2014-08-05T08:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: Output problem - Sas University Edition</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145589#M29012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi: There have been some previous postings about the long "Running" issue that some folks have encountered. I believe there is an update for it.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 04:28:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Output-problem-Sas-University-Edition/m-p/145589#M29012</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-08-07T04:28:43Z</dc:date>
    </item>
  </channel>
</rss>

