<?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 Mainframe : Create Permanent Dataset in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852514#M336986</link>
    <description>&lt;P&gt;Did that work?&amp;nbsp; If not then what error messages did you get?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 15:39:45 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2023-01-06T15:39:45Z</dc:date>
    <item>
      <title>SAS Mainframe : Create Permanent Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852508#M336982</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Dear Members,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Can you please help how to create mainframe dataset through data step on SAS STUDIO. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Note: I have already remote signon macro where I can login mainframe platform and code data step inside rsubmit/endrsubmit.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;STRONG&gt;&lt;U&gt;Code sample:&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;STRONG&gt;&lt;U&gt;%remote_signon();&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Rsubmit;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;LIBNAME LIB1 "MAINFRAME.PDS" ;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Data LIB1.TEST1;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Var1="ABCD";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;run;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;Endrsubmit ;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:30:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852508#M336982</guid>
      <dc:creator>kumarsandip975</dc:creator>
      <dc:date>2023-01-06T14:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Mainframe : Create Permanent Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852514#M336986</link>
      <description>&lt;P&gt;Did that work?&amp;nbsp; If not then what error messages did you get?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 15:39:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852514#M336986</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-01-06T15:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Mainframe : Create Permanent Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852608#M337017</link>
      <description>&lt;P&gt;It's been many years since I last used SAS on a mainframe, but I don't think you use PDSs (Partitioned Datsets) to store SAS datasets. From recollection you use normal sequential files. Here's the type of LIBNAME I'd expect to see:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname newlib 'abc.my.saslib' disp=(new,catlg);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jan 2023 22:26:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852608#M337017</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-01-06T22:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Mainframe : Create Permanent Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852642#M337028</link>
      <description>&lt;P&gt;&lt;EM&gt;Libraries&lt;/EM&gt; on a mainframe have to be partitioned sets, otherwise you would not have a means to find individual datasets quickly, or update them without having to rewrite the whole library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS it seems that mainframe SAS today mainly uses the UNIX-style filesystem, where a library is a directory. Which would imply that one has to use a UNIX absolute path for the LIBNAME to work.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 09:11:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852642#M337028</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-01-07T09:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Mainframe : Create Permanent Dataset</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852664#M337038</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;- After some research I found this very helpful reference regarding mainframe SAS libraries:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hosto390/p0zcnanujjomx7n16r8vajm70x0s.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hosto390/p0zcnanujjomx7n16r8vajm70x0s.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It appears z/OS SAS library files are analogous to z/OS PDSs but are not the same.&amp;nbsp;&amp;nbsp;z/OS PDSs use a DSORG of PO while SAS library files use DSORG of PS.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jan 2023 23:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Mainframe-Create-Permanent-Dataset/m-p/852664#M337038</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-01-07T23:11:32Z</dc:date>
    </item>
  </channel>
</rss>

