<?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: Sas is taking long time to produce output more than 15mins in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648351#M194186</link>
    <description>&lt;P&gt;Thank you for the response. Yes i am new learner to sas. Though the log shows 0 seconds, but&amp;nbsp; sometimes it takes very long time to produce the report. I posted some of the pictures of long cpu time with my early post. This long wait really worried me as currently i am working on my assignment. And now i have started to save the sas files in utf-8 format since morning so i didnt had the trouble after that. Still i am not sure whether i am right. The reason why i posted this issue is i wanted to find out what could be the reason through this community.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 17 May 2020 01:15:28 GMT</pubDate>
    <dc:creator>Amali6</dc:creator>
    <dc:date>2020-05-17T01:15:28Z</dc:date>
    <item>
      <title>Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647389#M193754</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;The dataset i am working contains more than 1lakh observations and 32 columns. Even though i kept only 8 columns&amp;nbsp; for my analysis, every time when i give a simple coding sas is not responding immediately taking nearly 15mins to produce error in log even. Please help what should i do to avoid this..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 10:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647389#M193754</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-13T10:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647390#M193756</link>
      <description>What is the Log saying?</description>
      <pubDate>Wed, 13 May 2020 10:31:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647390#M193756</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-05-13T10:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647407#M193766</link>
      <description>&lt;P&gt;Please post the&amp;nbsp;&lt;EM&gt;whole&lt;/EM&gt; log of the step. To post the log, copy/paste the log text into a window opened with the &amp;lt;/&amp;gt; button:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bildschirmfoto 2020-04-07 um 08.32.59.png"&gt;&lt;img src="https://communities.sas.com/skins/images/2DDE49EA501227DB2656927E4A5EECB7/responsive_peak/images/image_not_found.png" alt="Bildschirmfoto 2020-04-07 um 08.32.59.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 11:03:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647407#M193766</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-13T11:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647427#M193781</link>
      <description>&lt;P&gt;Data file Temp1.Hotel_bookings.data is in a format that is native to another host,or not match the session encoding. Cross environment data access will be used,which might take additional CPU resources and might reduce performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got this message in log when i imported the dataset into sas.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 11:50:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647427#M193781</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-13T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647440#M193787</link>
      <description>&lt;P&gt;There are additional points of interest. Please also post information about the library where the dataset resides (LIBNAME LIST), and the structure of the dataset (output of PROC CONTENTS).&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 12:18:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647440#M193787</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-13T12:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647452#M193790</link>
      <description>&lt;PRE&gt;The CONTENTS Procedure

Data Set Name HOTEL.HOTEL_BOOKINGS Observations 119390 
Member Type DATA Variables 32 
Engine V9 Indexes 0 
Created 2020/04/17 11:55:47 Observation Length 240 
Last Modified 2020/04/17 11:55:47 Deleted Observations 0 
Protection   Compressed NO 
Data Set Type   Sorted NO 
Label       
Data Representation WINDOWS_64     
Encoding shift-jis Japanese (SJIS)     



Engine/Host Dependent Information 
Data Set Page Size 65536 
Number of Data Set Pages 440 
First Data Page 1 
Max Obs per Page 272 
Obs in First Data Page 253 
Number of Data Set Repairs 0 
ExtendObsCounter YES 
Filename C:\Users\Prithi\Downloads\hotel-booking-demand (1)\hotel_bookings.sas7bdat 
Release Created 9.0401M6 
Host Created X64_10HOME 
Owner Name DESKTOP-QT3GBI8\Prithi 
File Size 28MB 
File Size (bytes) 28901376 



Alphabetic List of Variables and Attributes 
# Variable Type Len Format Informat 
28 adr Num 8 BEST12. BEST32. 
10 adults Num 8 BEST12. BEST32. 
24 agent Char 4 $4. $4. 
7 arrival_date_day_of_month Num 8 BEST12. BEST32. 
5 arrival_date_month Char 4 $4. $4. 
6 arrival_date_week_number Num 8 BEST12. BEST32. 
4 arrival_date_year Num 8 BEST12. BEST32. 
21 assigned_room_type Char 1 $1. $1. 
12 babies Num 8 BEST12. BEST32. 
22 booking_changes Num 8 BEST12. BEST32. 
11 children Num 8 BEST12. BEST32. 
25 company Char 4 $4. $4. 
14 country Char 3 $3. $3. 
27 customer_type Char 9 $9. $9. 
26 days_in_waiting_list Num 8 BEST12. BEST32. 
23 deposit_type Char 10 $10. $10. 
16 distribution_channel Char 9 $9. $9. 
1 hotel Char 12 $12. $12. 
2 is_canceled Num 8 BEST12. BEST32. 
17 is_repeated_guest Num 8 BEST12. BEST32. 
3 lead_time Num 8 BEST12. BEST32. 
15 market_segment Char 13 $13. $13. 
13 meal Char 2 $2. $2. 
19 previous_bookings_not_canceled Num 8 BEST12. BEST32. 
18 previous_cancellations Num 8 BEST12. BEST32. 
29 required_car_parking_spaces Num 8 BEST12. BEST32. 
31 reservation_status Char 9 $9. $9. 
32 reservation_status_date Num 8 DDMMYY10. DDMMYY10. 
20 reserved_room_type Char 1 $1. $1. 
9 stays_in_week_nights Num 8 BEST12. BEST32. 
8 stays_in_weekend_nights Num 8 BEST12. BEST32. 
30 total_of_special_requests Num 8 BEST12. BEST32. 


&lt;/PRE&gt;&lt;P&gt;I have created the library called hotel&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 13:04:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647452#M193790</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-13T13:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647475#M193800</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/328574"&gt;@Amali6&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;The dataset i am working contains more than 1lakh observations and 32 columns. Even though i kept only 8 columns&amp;nbsp; for my analysis, every time when i give a simple coding sas is not responding immediately taking nearly 15mins to produce error in log even. Please help what should i do to avoid this..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Really show the code and errors from the log. Most actual errors will terminate way quicker than that. I suspect that you are actually getting some sort of warnings, and possibly many of them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 14:21:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647475#M193800</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-13T14:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647711#M193872</link>
      <description>&lt;P&gt;So the encoding might be an issue here; if you work with another encoding, the transcoding of character values might eat a lot of resources.&lt;/P&gt;
&lt;P&gt;Please post the analysis code you run against this dataset, still better, post the&amp;nbsp;&lt;EM&gt;complete&lt;/EM&gt; log of the step that takes so long, once it has finished or ended with an ERROR.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:14:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/647711#M193872</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-14T07:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648206#M194121</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have tried to use Proc Report to produce the total number of special request given by customers to City Hotel in my dataset. And again sas took nearly 10mins to produce the error message. Whenever i am wrong in coding, sas is not responding quick. Could you identify whats wrong in the encoding? This is my log report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am hoping to find a solution for this through this community please!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;PRE&gt;   proc report data=hotel.Hotel_bookings;
 column hotel total_of_special_request;
  where hotel='City Hotel'and total_of special_request &amp;gt;0;
                 ------------             ---------------
                 49                       22
                                          76
ERROR: Syntax error while parsing WHERE clause.
NOTE 49-169: The meaning of an identifier after a quoted string might change in a future SAS release.  Inserting
             white space between a quoted string and the succeeding identifier is recommended.
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, (, *, **, +, -, /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;=,
              AND, EQ, GE, GT, LE, LT, NE, OR, ^=, |, ||, ~=.
ERROR 76-322: Syntax error, statement will be ignored.
   rbreak after/summarize style=[font_weight=bold];
   title'No of special request given to City Hotel';
   run;

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE REPORT used (Total process time):
      real time           0.05 seconds
      cpu time            0.00 seconds&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 23:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648206#M194121</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-15T23:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648232#M194138</link>
      <description>&lt;P&gt;1. The log you are showing show 0 seconds, not 15 minutes&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. No space in variable names please/&lt;/P&gt;
&lt;PRE&gt;where hotel='City Hotel'and total_of special_request &amp;gt;0;
                 ------------             ---------------
                 49                       22
                                          76&lt;/PRE&gt;
&lt;P&gt;No space in variable names. You forgot an _.&lt;/P&gt;
&lt;P&gt;Such a basic error. Please be careful to use the correct variable names, end queries with ; , etc..&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 02:29:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648232#M194138</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-16T02:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648237#M194140</link>
      <description>&lt;P&gt;Are you working over a VPN? SAS itself needed only 0.05 seconds to process the code and issue the messages, so it seems to be your connection to the SAS server that is extremely slow.&lt;/P&gt;
&lt;P&gt;Regarding your code: what is total_of? If it is a variable name, it has to be followed by an operator. And always use blanks between the elements of a statement, the AND immediately following the closing quote causes the first NOTE.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 04:38:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648237#M194140</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-16T04:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648268#M194155</link>
      <description>&lt;P&gt;No i am using my home wifi. Here i shared some of the pictures when i imported the dataset. Sorry i took this image in my phone and sharing here. Eventhough the CPU time is showing in seconds but really sas is taking nearly 10mins atleast whenever i give wrong coding.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_1-1589626149156.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39510iEA0B271822B4D3F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_1-1589626149156.png" alt="Amali6_1-1589626149156.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_2-1589626214475.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39511i443D15908F5C5DF2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_2-1589626214475.png" alt="Amali6_2-1589626214475.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Amali6_3-1589626287424.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/39512i8D08CFBFF8C209E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Amali6_3-1589626287424.png" alt="Amali6_3-1589626287424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please someone help me to get rid of this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 10:54:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648268#M194155</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-16T10:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648351#M194186</link>
      <description>&lt;P&gt;Thank you for the response. Yes i am new learner to sas. Though the log shows 0 seconds, but&amp;nbsp; sometimes it takes very long time to produce the report. I posted some of the pictures of long cpu time with my early post. This long wait really worried me as currently i am working on my assignment. And now i have started to save the sas files in utf-8 format since morning so i didnt had the trouble after that. Still i am not sure whether i am right. The reason why i posted this issue is i wanted to find out what could be the reason through this community.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 01:15:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648351#M194186</guid>
      <dc:creator>Amali6</dc:creator>
      <dc:date>2020-05-17T01:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sas is taking long time to produce output more than 15mins</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648388#M194209</link>
      <description>&lt;P&gt;These screenshots seem to present no interest. You show a libname and a proc print and proc sql.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;gt; Even though i kept only 8 columns for my analysis, every time when i give a simple coding sas is not responding immediately taking nearly 15mins&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;What's taking 15 minutes? I don't see that you keep 8 columns. I don't see any analysis.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I see is that you print a report with over 100,000 lines.&lt;/P&gt;
&lt;P&gt;Why on earth would you do that?&lt;/P&gt;
&lt;P&gt;How many different values for the variable HOTEL are there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You really need to explain your problem much better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 17 May 2020 12:09:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Sas-is-taking-long-time-to-produce-output-more-than-15mins/m-p/648388#M194209</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-05-17T12:09:34Z</dc:date>
    </item>
  </channel>
</rss>

