<?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 Mainframe MVS OS/2 TSO SAS 9.4 to 9.2 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696967#M212972</link>
    <description>&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;Dear Sir/Madam,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I converted some of my mainframe MVS OS/2 TSO SAS&amp;nbsp;programs from SAS 9.2 to SAS 9.4.&amp;nbsp; Now my output SAS dataset in 9.4 cannot be read by another user in another department.&amp;nbsp; How can I convert the 9.4 SAS dataset back to 9.2?&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;Warren&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Nov 2020 20:37:21 GMT</pubDate>
    <dc:creator>Warren</dc:creator>
    <dc:date>2020-11-05T20:37:21Z</dc:date>
    <item>
      <title>Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696967#M212972</link>
      <description>&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;Dear Sir/Madam,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I converted some of my mainframe MVS OS/2 TSO SAS&amp;nbsp;programs from SAS 9.2 to SAS 9.4.&amp;nbsp; Now my output SAS dataset in 9.4 cannot be read by another user in another department.&amp;nbsp; How can I convert the 9.4 SAS dataset back to 9.2?&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;Thanks,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;Warren&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0cm 0cm 0pt;"&gt;&lt;FONT face="Calibri" color="#000000"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 20:37:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696967#M212972</guid>
      <dc:creator>Warren</dc:creator>
      <dc:date>2020-11-05T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696973#M212975</link>
      <description>&lt;P&gt;You may need to recreate this, and any other data sets others with 9.2, using the data set option EXTENDOBSCOUNTER=NO.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That can be added like any other data set option where the data set is created by adding it after the new dataset name in ( ).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a lot of users/data sets you may want to set the 9.4 users SAS system option of Extendobscounter =no.&lt;/P&gt;
&lt;P&gt;There was a change with the 64 bit versions to have a different size value in the data set header information that uses more bits to count possible observations in a data set that earlier versions can't use.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 20:54:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696973#M212975</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-11-05T20:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696975#M212976</link>
      <description>&lt;P&gt;V9 datasets should be compatible. What error is your 9.2 SAS user getting?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 20:56:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696975#M212976</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-11-05T20:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696981#M212977</link>
      <description>&lt;P&gt;I got this error:&lt;/P&gt;
&lt;P&gt;ERROR: FILE DD.REGION.DATA NOT COMPATIBLE WITH THIS SAS VERSION.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Don't worry.&amp;nbsp; This is working now.&amp;nbsp; I just need to run the following.&lt;/P&gt;
&lt;P&gt;libname v92 v6; &lt;BR /&gt;%macro v(m);&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;data V92.&amp;amp;m;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set v94.&amp;amp;m;&lt;BR /&gt;run;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;%mend v;&lt;/P&gt;
&lt;P&gt;%v(REGION );&lt;/P&gt;
&lt;P&gt;%v(TRANSIT );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 21:04:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696981#M212977</guid>
      <dc:creator>Warren</dc:creator>
      <dc:date>2020-11-05T21:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696982#M212978</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13890"&gt;@Warren&lt;/a&gt;&amp;nbsp; - The SAS option posted by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;is probably the issue here.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 21:10:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696982#M212978</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-11-05T21:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696989#M212980</link>
      <description>&lt;P&gt;I also got this reply from SAS Technical support:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello Warren,&lt;/P&gt;
&lt;P&gt;What you are wanting to do is regress the file to a lower version of SAS.&amp;nbsp; If the file will be used on the same operating system on a lower release of SAS, then I suggest the V6 engine.&amp;nbsp; &lt;BR /&gt;&lt;A href="http://support.sas.com/rnd/migration/planning/files/regression.html" target="_blank"&gt;http://support.sas.com/rnd/migration/planning/files/regression.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This requires using dataset names and character variable names of 8 characters or less. You can use the VALIDVARNAME= option prior to submitting the PROC COPY which will automatically truncate longer than 8 character variable names according to a documented algorithm which will avoid naming collisions.&lt;BR /&gt;Proc options option=validvarname;run;&lt;/P&gt;
&lt;P&gt;Libname mylib v6 'c:\path-to-library';&lt;BR /&gt;libname sas9dat v9 'c:\path-to-library';&lt;BR /&gt;options validvarname=v6;&lt;BR /&gt;proc copy in=sas9dat out=mylib;&lt;BR /&gt;select dataset; /*&amp;lt;===&amp;nbsp; name of data set goes here*/&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;SAS will generate a file called dataset.sd2 in the mylib library.&amp;nbsp; Then, we need to set the VALIDVARNAME option&amp;nbsp; back to its original value.&lt;BR /&gt;Options validvarname=v7;&amp;nbsp; /* or v8 or v9 */&lt;/P&gt;
&lt;P&gt;Please let us know if you have any other questions.&amp;nbsp; This track will remain open for an additional 7 days to allow you an opportunity to request further assistance. I encourage you to respond to let me know if I have resolved this issue to your satisfaction.&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;BR /&gt;SAS Technical Support&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 21:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/696989#M212980</guid>
      <dc:creator>Warren</dc:creator>
      <dc:date>2020-11-05T21:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe MVS OS/2 TSO SAS 9.4 to 9.2</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/697062#M213000</link>
      <description>&lt;P&gt;That's a drastic step that TechSupport recommended. Unless you have short variable names, text strings and labels.&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;mentioned, it is less destructive to use the options described by&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2020 06:46:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mainframe-MVS-OS-2-TSO-SAS-9-4-to-9-2/m-p/697062#M213000</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-11-06T06:46:17Z</dc:date>
    </item>
  </channel>
</rss>

