<?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 Beginer- Issue faced with ODS statement in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564630#M11079</link>
    <description>&lt;P&gt;From the error message it looks like your SAS program is running on a remote SAS server with the Unix operating system. As such it know nothing about Windows file paths on your local PC. Ask your SAS admin to advise you where you can write your files on the server preferably so they can be shared with your PC.&lt;/P&gt;</description>
    <pubDate>Sat, 08 Jun 2019 06:49:35 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-06-08T06:49:35Z</dc:date>
    <item>
      <title>SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564629#M11078</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Failed to create PDF file in my local drive, even after using ODS statement. Please make use of the below program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, Please explain why we are not using "run" statement after ods pd close?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data construction;
input Items $ Qty Rate instock sold;
cards;
Bricks 1 35 1485 2453
Paint  1 45 1487 2658
Lader  1 75 1224 2014
Hammer 1 50 1789 2369
Nail   1 5  1258 458
;
run;
proc print data= construction;
run;
ods pdf file= "T:\SAS\ODS statement\construction.pdf";
title="Purchase_list";
proc print data= construction;
run;
ods pdf close;

LOG:

1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 NOTE: ODS statements in the SAS Studio environment may disable some output features.
 73         
 74         data construction;
 75         input Items $ Qty Rate instock sold;
 76         cards;
 
 NOTE: The data set WORK.CONSTRUCTION has 5 observations and 5 variables.
 NOTE: DATA statement used (Total process time):
       real time           0.00 seconds
       cpu time            0.01 seconds
       
 
 82         ;
 83         run;
 84         proc print data= construction;
 85         run;
 
 NOTE: There were 5 observations read from the data set WORK.CONSTRUCTION.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.08 seconds
       cpu time            0.07 seconds
       
 
 86         ods pdf file= "T:\SAS\ODS statement\construction.pdf";
 NOTE: Writing ODS PDF output to DISK destination "/opt/sasinside/SASConfig/Lev1/SASApp/T:\SAS\ODS statement\construction.pdf", 
       printer "PDF".
 87         title="Purchase_list";
            _____
            180
 
 ERROR 180-322: Statement is not valid or it is used out of proper order.
 
 88         proc print data= construction;
 89         run;
 
 NOTE: There were 5 observations read from the data set WORK.CONSTRUCTION.
 NOTE: PROCEDURE PRINT used (Total process time):
       real time           0.06 seconds
       cpu time            0.05 seconds
       
 
 90         ods pdf close;
 ERROR: Insufficient authorization to access /opt/sasinside/SASConfig/Lev1/SASApp/T:\SAS\ODS statement\construction.pdf.
 91         
 92         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 105        &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Many thanks,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 06:40:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564629#M11078</guid>
      <dc:creator>Deepak13</dc:creator>
      <dc:date>2019-06-08T06:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564630#M11079</link>
      <description>&lt;P&gt;From the error message it looks like your SAS program is running on a remote SAS server with the Unix operating system. As such it know nothing about Windows file paths on your local PC. Ask your SAS admin to advise you where you can write your files on the server preferably so they can be shared with your PC.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 06:49:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564630#M11079</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-06-08T06:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564631#M11080</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. There is a problem with your Title statement. It shouldn't have = sign.&lt;/P&gt;&lt;P&gt;2. Secondly, I think you need to check your path where you want the output.&amp;nbsp; I used your code with these changes, and its working perfectly fine for me.&lt;/P&gt;&lt;P&gt;3. ODS statement is a global statement. That's why we don't have to use run after that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data construction;&lt;BR /&gt;input Items $ Qty Rate instock sold;&lt;BR /&gt;cards;&lt;BR /&gt;Bricks 1 35 1485 2453&lt;BR /&gt;Paint 1 45 1487 2658&lt;BR /&gt;Lader 1 75 1224 2014&lt;BR /&gt;Hammer 1 50 1789 2369&lt;BR /&gt;Nail 1 5 1258 458&lt;BR /&gt;;&lt;BR /&gt;run;&lt;BR /&gt;proc print data= construction;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf file= "/home/anushreebiotech0/ECRB94/data/construction.pdf";&lt;BR /&gt;title "Purchase_list";&lt;BR /&gt;proc print data= construction;&lt;BR /&gt;run;&lt;BR /&gt;ods pdf close;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anushree&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 07:05:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564631#M11080</guid>
      <dc:creator>anushreebiotech</dc:creator>
      <dc:date>2019-06-08T07:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564632#M11081</link>
      <description>&lt;P&gt;Got the point, I use UE for practice, So this is a cloud service which is not related to my windows drive, Now I changed the path by creating a folder in the UE itself and the program works fine! Many thanks for your prompt support!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data construction;
input Items $ Qty Rate instock sold;
cards;
Bricks 1 35 1485 2453
Paint  1 45 1487 2658
Lader  1 75 1224 2014
Hammer 1 50 1789 2369
Nail   1 5  1258 458
;
run;
proc print data= construction;
run;
ods pdf file= "/folders/myshortcuts/Myfolders/ODS statement/construction.pdf";
title"Purchase_list";
proc print data= construction;
run;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Jun 2019 07:26:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564632#M11081</guid>
      <dc:creator>Deepak13</dc:creator>
      <dc:date>2019-06-08T07:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564633#M11082</link>
      <description>&lt;P&gt;Hi Anushree,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your advice, I have removed the "=" in title and changed the ods file path to UE server, Now the program works fine with no errors!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 07:31:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564633#M11082</guid>
      <dc:creator>Deepak13</dc:creator>
      <dc:date>2019-06-08T07:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564649#M11089</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/272660"&gt;@Deepak13&lt;/a&gt;&amp;nbsp;Please mark the solution that solved your issue in-order to close the thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2019 12:43:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564649#M11089</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-06-08T12:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Beginer- Issue faced with ODS statement</title>
      <link>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564724#M11101</link>
      <description>It looks like you didn't quite set up SAS UE correctly, the default path should be folders/myfolders but yours is Myfolders - I think the capital M throws it off. In general, you can set up any shared folder though and then you'll have the path similar to above.</description>
      <pubDate>Sun, 09 Jun 2019 01:52:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/SAS-Beginer-Issue-faced-with-ODS-statement/m-p/564724#M11101</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-06-09T01:52:03Z</dc:date>
    </item>
  </channel>
</rss>

