<?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 How to view a specific number of record in viewtable? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918003#M361620</link>
    <description>&lt;P&gt;I have a dataset which has say one lakh records. Now when I have to go to record number 13744, I have to scroll down to that record. I want to ask if there is any better way to directly go that recored?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In editor, if one has to go to line number 537, one can use ctrl+g and type 537 there and we can directly go that line number. I want to ask if there is anything similar for viewtable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2024 07:48:24 GMT</pubDate>
    <dc:creator>DrAbhijeetSafai</dc:creator>
    <dc:date>2024-02-27T07:48:24Z</dc:date>
    <item>
      <title>How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918003#M361620</link>
      <description>&lt;P&gt;I have a dataset which has say one lakh records. Now when I have to go to record number 13744, I have to scroll down to that record. I want to ask if there is any better way to directly go that recored?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In editor, if one has to go to line number 537, one can use ctrl+g and type 537 there and we can directly go that line number. I want to ask if there is anything similar for viewtable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 07:48:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918003#M361620</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-02-27T07:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918009#M361622</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/27897"&gt;@DrAbhijeetSafai&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For VIEWTABLE see &lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_blank" rel="noopener"&gt;ballardw&lt;/A&gt;'s solution &lt;A href="https://communities.sas.com/t5/SAS-Studio/In-VIEWTABLE-How-Can-I-Directly-Go-to-Certain-Observation/m-p/695724/highlight/true#M9464" target="_blank" rel="noopener"&gt;Re: In VIEWTABLE, How Can I Directly Go to Certain Observation?&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally I prefer the SAS Universal Viewer (see &lt;A href="https://support.sas.com/downloads/browse.htm?fil=&amp;amp;cat=74" target="_blank" rel="nofollow noopener noreferrer"&gt;https://support.sas.com/downloads/browse.htm?fil=&amp;amp;cat=74&lt;/A&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;in those rare situations when I want to scroll through a dataset. I'm using version 1.42 (which is not the most recent one) and it offers the "Go to row [&lt;EM&gt;number&lt;/EM&gt;]" feature:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAS Universal Viewer (version 1.42)" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/94144i205D24DD991C6389/image-size/large?v=v2&amp;amp;px=999" role="button" title="univ_viewer.png" alt="SAS Universal Viewer (version 1.42)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SAS Universal Viewer (version 1.42)&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Whether this field is available, however, depends on the "Data Paging" settings. For smaller (!) datasets you may need to reduce the number of observations per page (see menu Tools&amp;nbsp;→ Options&amp;nbsp;→ Paging). Also, after "Go to row &lt;EM&gt;n&lt;/EM&gt;" the &lt;EM&gt;n&lt;/EM&gt;th row (observation) is the first of the &lt;EM&gt;page&lt;/EM&gt;, so if you actually want to see, e.g., rows &lt;EM&gt;n&lt;/EM&gt;&amp;nbsp;± 10, you should better "Go to row &lt;EM&gt;n&lt;/EM&gt;−10".&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 09:20:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918009#M361622</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-02-27T09:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918011#M361623</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp; for the information. I wanted this to happen in work library, so Universal Viewer will not work there. However, another thing which you pointed out helped.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You brought my attention to&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_blank" rel="noopener"&gt;ballardw&lt;/A&gt;&lt;SPAN&gt;'s solution&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://communities.sas.com/t5/SAS-Studio/In-VIEWTABLE-How-Can-I-Directly-Go-to-Certain-Observation/m-p/695724/highlight/true#M9464" target="_blank" rel="noopener"&gt;Re: In VIEWTABLE, How Can I Directly Go to Certain Observation?&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; again. I had read it many many times but was not able to understand it. This time I got to know why I was not able to understand it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I was not able to understand the meaning of command line. It can be enabled from Tools &amp;gt; Options &amp;gt; Preferences &amp;gt; View. Once this command line is enabled, use of forward on command line was the think I was looking for.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Your information about Tools &amp;gt; Options etc., helped me to look for it and that helped to understand command line and after that&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_blank" rel="noopener"&gt;ballardw&lt;/A&gt;'s solution made sense. Thanks to&amp;nbsp;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884" target="_blank" rel="noopener"&gt;ballardw&lt;/A&gt;&amp;nbsp;and to you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Dr. Abhijeet Safai&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 09:46:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918011#M361623</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-02-27T09:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918012#M361624</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/27897"&gt;@DrAbhijeetSafai&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;I wanted this to happen in work library, so Universal Viewer will not work there.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Why not? You just need to know the path to the directory, which you can retrieve, e.g., from the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p1er6tm8fay8u2n1fhktmeoy2be4.htm" target="_blank" rel="noopener"&gt;WORK= system option&lt;/A&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%put %sysfunc(getoption(work));&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:03:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918012#M361624</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-02-27T10:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918013#M361625</link>
      <description>&lt;P&gt;Interesting! Thanks!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 10:17:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/918013#M361625</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-02-27T10:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923769#M363661</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried using what you had shared.&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;%put %sysfunc(getoption(work));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The statement is giving me the current location of the work folder, which is in SAS Temporary Files folder on C drive.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am able to understand that this path needs to be changed to other path. And files can be accessed from that folder where I can use SAS Universal Viewer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I am not able to understand how to set this path.&amp;nbsp;&amp;nbsp;I tried following things:&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;libname sandbox "Path of the folder";
options work = sandbox;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But that is not working.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanking you,&lt;/P&gt;
&lt;P&gt;Yours sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 10:36:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923769#M363661</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-04-10T10:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923773#M363662</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/27897"&gt;@DrAbhijeetSafai&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I answered this question last week in your more recent thread:&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-copy-values-of-a-column-in-SAS-viewtable/m-p/923170/highlight/true#M363472" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-copy-values-of-a-column-in-SAS-viewtable/m-p/923170/highlight/true#M363472&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 11:04:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923773#M363662</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-04-10T11:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923775#M363663</link>
      <description>&lt;P&gt;Yes&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;, to which, I had asked a further query &lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-copy-values-of-a-column-in-SAS-viewtable/m-p/923157/highlight/true#M363468" target="_self"&gt;here&lt;/A&gt;(same as the query above), below the same thread. Please let me know if I am missing something while using 'options work' statement etc. Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanking you,&lt;/P&gt;
&lt;P&gt;Yours sincerely,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 12:00:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923775#M363663</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-04-10T12:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923776#M363664</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/27897"&gt;@DrAbhijeetSafai&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp;, which, I had asked a further query &lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-copy-values-of-a-column-in-SAS-viewtable/m-p/923157/highlight/true#M363468" target="_self"&gt;here&lt;/A&gt;, below the same thread.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The answer I linked to was the reply to that further query.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Please let me know if I am missing something while using 'options work' statement etc.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The WORK= system option is one of those options which cannot be changed via the OPTIONS statement. (Note that "OPTIONS statement" is not listed in section "Valid in:" at the top of the &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lesysoptsref/p1er6tm8fay8u2n1fhktmeoy2be4.htm" target="_blank" rel="noopener"&gt;documentation of the option&lt;/A&gt;.) This is because using an OPTIONS statement requires a running SAS session, which in turn needs an established WORK library. Luckily, you don't need to change the WORK= system option, as explained in &lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-copy-values-of-a-column-in-SAS-viewtable/m-p/923170/highlight/true#M363472" target="_blank" rel="noopener"&gt;my reply of last week&lt;/A&gt; starting with "&lt;SPAN&gt;There is no need to change anything.&amp;nbsp;..."&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 12:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923776#M363664</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2024-04-10T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to view a specific number of record in viewtable?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923780#M363665</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh&lt;/a&gt;&amp;nbsp; Thank you very very much!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I understood now that what you mean to say was to find out where the work files are stored on the computer by using&amp;nbsp;&lt;/P&gt;
&lt;PRE class="language-sas"&gt;&lt;CODE&gt;%put %sysfunc(getoption(work));&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to find out 'path' of these work folder files.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once found out, going opening that file in SAS Universal viewer is expected.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This really helped me to understand it in detail. The 'App Data' folder insider the folder of name of users is generally hidden (it needs to be made unhide).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So finally I was able to view the files in work folder by using SAS Universal Viewer. Thank you for your patience.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks once again!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Dr. Abhijeet Safai&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 12:18:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-view-a-specific-number-of-record-in-viewtable/m-p/923780#M363665</guid>
      <dc:creator>DrAbhijeetSafai</dc:creator>
      <dc:date>2024-04-10T12:18:03Z</dc:date>
    </item>
  </channel>
</rss>

