<?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: Mainframe PROC UPLOAD ERROR in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552587#M153606</link>
    <description>&lt;P&gt;Thanks SASKiwi! Yes, it works!.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2019 02:49:28 GMT</pubDate>
    <dc:creator>Dawn3</dc:creator>
    <dc:date>2019-04-23T02:49:28Z</dc:date>
    <item>
      <title>Mainframe PROC UPLOAD ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552563#M153602</link>
      <description>&lt;P&gt;Please how to update mainframe SAS dataset that is part of PDS (partitioned data set)?&lt;BR /&gt;Using PROC DOWNLOAD the content of the MF member gets downloaded to LAN. After another SAS process updates this dataset (.sas7bdat file) I need to upload the new content from LAN overwriting the original MF dataset. Using this method produced authorization error:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;. . .&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;signon . . .;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;RSUBMIT;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LIBNAME MFDAT 'AAA.BBB.CCC.SASDATA.&lt;STRONG&gt;A0100&lt;/STRONG&gt; ' DISP=&lt;STRONG&gt;SHR&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PROC UPLOAD DATA=TEST.SOURCE OUT=MFDAT.TARGET;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;RUN;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LIBNAME MFDAT CLEAR;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ENDRSUBMIT;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Note that I do have proper authorization and the same statement above with:&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LIBNAME MFDAT 'AAA.BBB.CCC.SASDATA.&lt;STRONG&gt;B0100&lt;/STRONG&gt; &lt;STRONG&gt;'&lt;/STRONG&gt; DISP=&lt;STRONG&gt;NEW&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;BR /&gt;does create new &lt;STRONG&gt;B0100&lt;/STRONG&gt; dataset. When I PROC Download it, change the content, and try to PROC Upload it with:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;LIBNAME MFDAT 'AAA.BBB.CCC.SASDATA.&lt;STRONG&gt;B0100&lt;/STRONG&gt; &lt;STRONG&gt;'&lt;/STRONG&gt; DISP=&lt;STRONG&gt;SHR&lt;/STRONG&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PROC UPLOAD DATA=TEST.SOURCE OUT=MFDAT.TARGET;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I receive the authorization error.&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ERROR: Write access to member AAA.BBB.CCC.SASDATA.&lt;STRONG&gt;B0100&lt;/STRONG&gt; is denied.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The datasets are relatively small so space is not a problem.&lt;/P&gt;&lt;P&gt;The environment is z/OS, SAS 9.4 EG 5.1&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 23:14:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552563#M153602</guid>
      <dc:creator>Dawn3</dc:creator>
      <dc:date>2019-04-19T23:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe PROC UPLOAD ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552580#M153604</link>
      <description>&lt;P&gt;DISP=SHR sets the LIBNAME to read-only. Try DISP=OLD to write to an existing file.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Apr 2019 00:57:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552580#M153604</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-04-20T00:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe PROC UPLOAD ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552587#M153606</link>
      <description>&lt;P&gt;Thanks SASKiwi! Yes, it works!.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 02:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/552587#M153606</guid>
      <dc:creator>Dawn3</dc:creator>
      <dc:date>2019-04-23T02:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe PROC UPLOAD ERROR</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/553113#M153782</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/271302"&gt;@Dawn3&lt;/a&gt;&amp;nbsp; - great to know. Haven't touched a mainframe in over 15 years but its surprising what you remember...&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2019 03:13:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-PROC-UPLOAD-ERROR/m-p/553113#M153782</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-04-23T03:13:37Z</dc:date>
    </item>
  </channel>
</rss>

