<?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 call a dataset to output efficiently without using proct print? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722493#M224027</link>
    <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;Today I face a basic problem but I do not know how to work on it efficiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a library named "&lt;STRONG&gt;my&lt;/STRONG&gt;", I want to create an output of &lt;STRONG&gt;my.nlsy&lt;/STRONG&gt; for checking data purpose (&lt;STRONG&gt;nlsy&lt;/STRONG&gt; is a sas7bdat file in this library).&lt;/P&gt;
&lt;P&gt;Normally, I will do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname my'C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data' access=readonly;

data call_nlsy;
    set my.nlsy;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I think it is quite weird because we need to create a data step for such a simple task, and I do not want to use proc print as well. Is there any way to extend the libname statement or else to show the output &lt;STRONG&gt;my.nlsy&lt;/STRONG&gt; efficiently?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update:&lt;/P&gt;
&lt;P&gt;I follow &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=basess&amp;amp;docsetTarget=p1f5xhmkdfhyjcn1n6k9wdcacba0.htm&amp;amp;locale=en" target="_self"&gt;this document&lt;/A&gt; to call an output but it does not work. In this document they wrote:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname saveit 'your-data-library';
data saveit.weight_club;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also wrote the same thing in my code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname my 'C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data' access=readonly;
data my.nlsy;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but the log is like that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;28         libname my 'C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data' access=readonly;
NOTE: Libref MY refers to the same physical library as ECI00001.
NOTE: Libref MY was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data
29         data my.nlsy;
30         
31         %LET _CLIENTTASKLABEL=;
32         %LET _CLIENTPROCESSFLOWNAME=;
33         %LET _CLIENTPROJECTPATH=;
34         %LET _CLIENTPROJECTPATHHOST=;
35         %LET _CLIENTPROJECTNAME=;
36         %LET _SASPROGRAMFILE=;
37         %LET _SASPROGRAMFILEHOST=;
38         
39         ;*';*";*/;quit;run;
                     ____
                     180

ERROR 180-322: Statement is not valid or it is used out of proper order.

ERROR: Write access to member MY.NLSY.DATA is denied.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 28 Feb 2021 22:22:28 GMT</pubDate>
    <dc:creator>Phil_NZ</dc:creator>
    <dc:date>2021-02-28T22:22:28Z</dc:date>
    <item>
      <title>How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722493#M224027</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;Today I face a basic problem but I do not know how to work on it efficiently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a library named "&lt;STRONG&gt;my&lt;/STRONG&gt;", I want to create an output of &lt;STRONG&gt;my.nlsy&lt;/STRONG&gt; for checking data purpose (&lt;STRONG&gt;nlsy&lt;/STRONG&gt; is a sas7bdat file in this library).&lt;/P&gt;
&lt;P&gt;Normally, I will do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname my'C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data' access=readonly;

data call_nlsy;
    set my.nlsy;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I think it is quite weird because we need to create a data step for such a simple task, and I do not want to use proc print as well. Is there any way to extend the libname statement or else to show the output &lt;STRONG&gt;my.nlsy&lt;/STRONG&gt; efficiently?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Update:&lt;/P&gt;
&lt;P&gt;I follow &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=basess&amp;amp;docsetTarget=p1f5xhmkdfhyjcn1n6k9wdcacba0.htm&amp;amp;locale=en" target="_self"&gt;this document&lt;/A&gt; to call an output but it does not work. In this document they wrote:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname saveit 'your-data-library';
data saveit.weight_club;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I also wrote the same thing in my code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname my 'C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data' access=readonly;
data my.nlsy;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;but the log is like that&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;28         libname my 'C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data' access=readonly;
NOTE: Libref MY refers to the same physical library as ECI00001.
NOTE: Libref MY was successfully assigned as follows: 
      Engine:        V9 
      Physical Name: C:\Users\pnguyen\OneDrive - Massey University\SAS\Document\FERMFLDUSAS_data
29         data my.nlsy;
30         
31         %LET _CLIENTTASKLABEL=;
32         %LET _CLIENTPROCESSFLOWNAME=;
33         %LET _CLIENTPROJECTPATH=;
34         %LET _CLIENTPROJECTPATHHOST=;
35         %LET _CLIENTPROJECTNAME=;
36         %LET _SASPROGRAMFILE=;
37         %LET _SASPROGRAMFILEHOST=;
38         
39         ;*';*";*/;quit;run;
                     ____
                     180

ERROR 180-322: Statement is not valid or it is used out of proper order.

ERROR: Write access to member MY.NLSY.DATA is denied.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722493#M224027</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-28T22:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722494#M224028</link>
      <description>&lt;P&gt;Why bother creating a copy of the original data set?&amp;nbsp; Will the original become inaccessible?&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 21:51:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722494#M224028</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-02-28T21:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722496#M224029</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This dataset is a physical file in a folder on the computer, I want to show it at the Output Data interface of SAS EG to have a look at it quickly to have a sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;P/S: I know we can go to the folder and double-click on the file but I want to see if is there any way shorter by using one or two lines of code to solve it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:03:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722496#M224029</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-28T22:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722497#M224030</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp; - What's the problem with expanding the MY library in the EG servers pane and opening the dataset there? You may have to refresh the Servers pane if you have just applied the MY LIBNAME.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:11:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722497#M224030</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-28T22:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722499#M224032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry if I confused you. I am wondering what do you mean by documenting that"&lt;SPAN&gt;expanding the MY library in the EG servers pane and opening the dataset there", I still not get this idea then.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Warm regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:20:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722499#M224032</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-28T22:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722501#M224033</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp; - This is what the Enterprise Guide Servers pane looks like - do you not have it open? It will contain all SAS libraries, and tables, you define with a LIBNAME statement plus your SASUSER and WORK libraries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot36.JPG" style="width: 331px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55299i8EC30065BA1D7CF0/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot36.JPG" alt="screenshot36.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:36:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722501#M224033</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-28T22:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722504#M224034</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt;&amp;nbsp;what do you mean by documenting that"expanding the MY library in the EG servers pane&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please watch some of the many videos explaining the basics of the Enterprise Guide interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The servers pane is here shown below. Expand it to see the SAS data sets in a given library. Double-click on a data set to see its contents,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisNZ_1-1614552134495.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/55301i089E28F53DB3032B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisNZ_1-1614552134495.png" alt="ChrisNZ_1-1614552134495.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:42:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722504#M224034</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-02-28T22:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722505#M224035</link>
      <description>&lt;P&gt;Opppps!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp; for this notice, I mainly use SAS EG to code but never use the "Servers" place.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warmest regards.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:44:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722505#M224035</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-28T22:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a dataset to output efficiently without using proct print?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722507#M224036</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp; - Then you are missing one of EG's best features&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2021 22:48:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-call-a-dataset-to-output-efficiently-without-using-proct/m-p/722507#M224036</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-28T22:48:41Z</dc:date>
    </item>
  </channel>
</rss>

