<?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: PROC UPLOAD issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429272#M106017</link>
    <description>&lt;P&gt;Talk to your systems team about how to create a new file on your mainframe.&amp;nbsp; You might just need to use DISP=NEW option.&lt;/P&gt;
&lt;P&gt;Check out the Z/OS companion documentation from SAS.&amp;nbsp;&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=hosto390&amp;amp;docsetTarget=n0yrspsfthx1w5n1gyt6rgzh3qsu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=hosto390&amp;amp;docsetTarget=n0yrspsfthx1w5n1gyt6rgzh3qsu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2018 20:36:29 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2018-01-19T20:36:29Z</dc:date>
    <item>
      <title>PROC UPLOAD issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429207#M105998</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a SAS dataset (.sas7bdat file) saved on network share. Using BASE SAS 9.4, can you please provide the syntax to PROC UPLOAD this file into A NEW MAINFRAME SAS file which I can then read using WPS utility in JCL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I am using:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/* Signon to WPS Mainframe */
%let host1=mvsd1.XXXXXXX.co.uk;
options compress=yes;
Options remote=host1 set=tcptn3270 0;
filename rlink "o:\tso13_wps.txt";
Options COMAMID=TCP;


signon;

filename locref '\\ABC\xyz\aaa\ccc';
rsubmit;
   filename fref 'VPMS.D06.CAM.DROPPED';
   proc upload infile=locref('dropped_cam.sas7bdat') 
               outfile=fref;
   run;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When I am running this code, I am getting the below error:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5 filename fref 'VPMS.D06.CAM.DROPPED';&lt;/P&gt;
&lt;P&gt;ERROR: IKJ56228I DATA SET VPMS.D06.CAM.DROPPED NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSED&lt;/P&gt;
&lt;P&gt;^&lt;/P&gt;
&lt;P&gt;ERROR: Dynamic allocation failed -- dataset "VPMS.D06.CAM.DROPPED" does not exist&lt;/P&gt;
&lt;P&gt;6 proc upload infile=locref('dropped_cam.sas7bdat')&lt;/P&gt;
&lt;P&gt;7 outfile=fref;&lt;/P&gt;
&lt;P&gt;8 run;&lt;/P&gt;
&lt;P&gt;ERROR: INFILE= and OUTFILE= options are not supported for SAS/Connect Communicate protocol&lt;/P&gt;
&lt;P&gt;NOTE: Procedure upload step took :&lt;/P&gt;
&lt;P&gt;real time : 0.000&lt;/P&gt;
&lt;P&gt;cpu time : 0.000&lt;/P&gt;
&lt;P&gt;EXCP count: 0&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 17:35:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429207#M105998</guid>
      <dc:creator>tapas_16880</dc:creator>
      <dc:date>2018-01-19T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UPLOAD issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429272#M106017</link>
      <description>&lt;P&gt;Talk to your systems team about how to create a new file on your mainframe.&amp;nbsp; You might just need to use DISP=NEW option.&lt;/P&gt;
&lt;P&gt;Check out the Z/OS companion documentation from SAS.&amp;nbsp;&amp;nbsp;&lt;A href="http://documentation.sas.com/?docsetId=hosto390&amp;amp;docsetTarget=n0yrspsfthx1w5n1gyt6rgzh3qsu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;http://documentation.sas.com/?docsetId=hosto390&amp;amp;docsetTarget=n0yrspsfthx1w5n1gyt6rgzh3qsu.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 20:36:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429272#M106017</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2018-01-19T20:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: PROC UPLOAD issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429307#M106031</link>
      <description>&lt;P&gt;If you are uploading a SAS dataset then you should be using these options. I'm assuming here you want your SAS dataset converted to mainframe format so it can be used by other mainframe SAS programs. If this is not the case please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname locref '\\ABC\xyz\aaa\ccc';

rsubmit;
   libname lref 'VPMS.D06.CAM.DROPPED' disp = new;
   proc upload data=locref.dropped_cam 
               out=lref.dropped_cam;
   run;
endrsubmit;&lt;/CODE&gt;&amp;nbsp;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 22:57:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-UPLOAD-issue/m-p/429307#M106031</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-01-19T22:57:53Z</dc:date>
    </item>
  </channel>
</rss>

