<?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 Error 180-322 when using tagsets.excelxp on mainframe in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558971#M156046</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259823"&gt;@rohitkrishna&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;HI KurtBremser,&lt;BR /&gt;thanks for the replay&lt;BR /&gt;so the main issue with the old sas version&lt;BR /&gt;what is exact code for the old version to get the output&lt;BR /&gt;please suggest some solution on the present error&lt;BR /&gt;Thnaks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Simple version: you can't. Back the in the stone age, only Windows installations of SAS could produce Excel files (of the equally archaeologic .xls variety). TAGSETS.EXCELXP was a temporary remedy for that, until the platform-independent DBMS=XLSX came around.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is one way that has worked back with SAS 6.X when I started working with SAS, still works today, and will work long after my bones lie bleaching in the sun: write a csv file with a data step, and read that into Excel. Mind that you can only transfer data; no fancy typesets, no coloring, just data as formatted by SAS in datasets. Maxim 27: Textuality Rules.&lt;/P&gt;</description>
    <pubDate>Wed, 15 May 2019 14:45:13 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2019-05-15T14:45:13Z</dc:date>
    <item>
      <title>SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558909#M156018</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm facing some error in sas mainframe code could you help out for this problem below i mention the log results plz go through on it&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1 ODS TAGSETS.EXCELXP FILE= "C:\USERS\IBM_ADMIN\DESKTOP\ODSFILE.XML";&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _______________&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _______________&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 180&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;180&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 180&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;2 PROC TABULATE DATA=SASHELP.CLASS;&lt;BR /&gt;3 CLASS SEX AGE;&lt;BR /&gt;4 VAR HEIGHT;&lt;BR /&gt;5 TABLE AGE,SEX*HEIGHT*MEAN;&lt;BR /&gt;6 RUN;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;!&lt;BR /&gt;ODS TAGSETS.EXCELXP CLOSE;&lt;BR /&gt;_______________&lt;BR /&gt;_______________&lt;BR /&gt;_______________&lt;BR /&gt;180&lt;BR /&gt;180&lt;BR /&gt;180&lt;BR /&gt;180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;180-322: Statement is not valid or it is used out of proper order.&lt;BR /&gt;The SAS session used 0.02 CPU seconds and 6799K.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;plz go through on the code kindly give some solution for that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;
&lt;P&gt;rohitkrishna&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:37:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558909#M156018</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-15T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 using a macro.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558918#M156023</link>
      <description>&lt;P&gt;Mainframe?&amp;nbsp; If you are running on an IBM mainframe how are you going to write to file location like C:...?&amp;nbsp; That is something would work on a PC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macro?&amp;nbsp; I don't see any macro code in your log.&amp;nbsp; Not even any macro variable references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message seems to be that TAGSETS.EXCELXP is not understood.&lt;/P&gt;
&lt;P&gt;What version of SAS are running?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What is your ultimate goal with this program?&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:32:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558918#M156023</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-15T13:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 using a macro.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558920#M156024</link>
      <description>Hi Tom,&lt;BR /&gt;thanks for the quick replay&lt;BR /&gt;my goal is to export that date by using that method&lt;BR /&gt;and one I'm new to the mainframe environment so kindly suggest the right way to execute the date&lt;BR /&gt;Thanks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2019 13:38:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558920#M156024</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-15T13:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558921#M156025</link>
      <description>&lt;P&gt;I corrected your misleading subject line.&lt;/P&gt;
&lt;P&gt;And&amp;nbsp;&lt;STRONG&gt;&lt;FONT size="5"&gt;PLEASE&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;use the {i} button for posting Logs! The main posting window messes with the horizontal positioning of ERROR messages, so it is often hard to detect what SAS is complaining about. The {i} feature has been set up explicitly for such things, so PLEASE use it!&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:40:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558921#M156025</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-15T13:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558926#M156026</link>
      <description>The error code is pointing to a missing semi-colon. please post your code</description>
      <pubDate>Wed, 15 May 2019 13:45:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558926#M156026</guid>
      <dc:creator>ghosh</dc:creator>
      <dc:date>2019-05-15T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558929#M156027</link>
      <description>Hi KurtBremser,&lt;BR /&gt;thanks for the replay&lt;BR /&gt;sorry about the non-proper code for the next post onwards I will work on it and kindly post the solution for the problem&lt;BR /&gt;Thanks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2019 13:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558929#M156027</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-15T13:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558930#M156028</link>
      <description>&lt;P&gt;SAS on a mainframe has only access to the mainframe's environment. This means you either have to use z/OS-style filenames (eg USER.SAS.FILE.OUT, see &lt;A href="https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idad400/name.htm" target="_blank" rel="noopener"&gt;https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.idad400/name.htm&lt;/A&gt;), or you have a DSN defined in the encapsulating JCL script, see&amp;nbsp;&lt;A href="https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.zjcl/zjclc_jclDDstmt.htm" target="_blank" rel="noopener"&gt;https://www.ibm.com/support/knowledgecenter/zosbasics/com.ibm.zos.zjcl/zjclc_jclDDstmt.htm&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;After you have created a file on the mainframe, you can retrieve it with a file transfer utility, as mainframes today provide FTP and SSH access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that tagsets.excelxp is rather new in SAS (Version 9.2, IIRC).&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 14:02:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558930#M156028</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-15T14:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 using a macro.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558931#M156029</link>
      <description>&lt;P&gt;You need to talk to your shop about how to create output files on your system.&lt;/P&gt;
&lt;P&gt;It might help to start by just creating simple output files first.&amp;nbsp; Say just a text file.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename out 'my.out.txt' disp=new;
data _null_;
 set sashelp.class;
 file out dsd dlm=',';
 put (_all_) (+0);
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then you can ask what tools your shop has for downloading those to your PC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 13:50:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558931#M156029</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-05-15T13:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558932#M156030</link>
      <description>Hi Ghosh,&lt;BR /&gt;Thanks for the replay&lt;BR /&gt;please find below the mentioned code&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;000700 //SYSIN DD *&lt;BR /&gt;000800 ODS TAGSETS.EXCELXP FILE= "C:\USERS\IBM_ADMIN\DESKTOP\ODSFILE.XML";&lt;BR /&gt;000900 PROC TABULATE DATA=SASHELP.CLASS;&lt;BR /&gt;001000 CLASS SEX AGE;&lt;BR /&gt;001100 VAR HEIGHT;&lt;BR /&gt;001200 TABLE AGE,SEX*HEIGHT*MEAN;&lt;BR /&gt;001300 RUN;&lt;BR /&gt;001400 ODS TAGSETS.EXCELXP CLOSE;&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;thanks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2019 13:52:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558932#M156030</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-15T13:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558945#M156034</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;Changing only the location, your code works for me in SAS on Windows version 9.4 M5:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="excelxp_code_works_Windows.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/29544iA87A55652F4DF5F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="excelxp_code_works_Windows.png" alt="excelxp_code_works_Windows.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are running this course on the mainframe, writing to a C: drive location will not work. How you write to a location on the mainframe in a mainframe version of SAS depends on whether you are writing to a Unix/HFS file system attached to the mainframe or writing to an MVS mainframe cataloged dataset. For a mainframe dataset, it will make a difference whether you are writing to a sequential file or to a member of a partitioned dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code you sent works for me. I suspect the issue is that TAGSETS.EXCELXP might not be on your version of SAS on the mainframe or else there is some other problem elsewhere in your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to open a track with Tech Support on this issue. How you are running the code and the version of SAS you're using might be impacting the job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 14:05:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558945#M156034</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-05-15T14:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558952#M156038</link>
      <description>Hi all,&lt;BR /&gt;thanks for the quick replay&lt;BR /&gt;right now we are using 8.1 sas version in mainframe&lt;BR /&gt;so kindly give the solution for that&lt;BR /&gt;Thanks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2019 14:15:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558952#M156038</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-15T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558961#M156042</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259823"&gt;@rohitkrishna&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Hi all,&lt;BR /&gt;thanks for the quick replay&lt;BR /&gt;right now we are using 8.1 sas version in mainframe&lt;BR /&gt;so kindly give the solution for that&lt;BR /&gt;Thanks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;8.1? Really? Why not use stone tablets with hammer &amp;amp; chisel?&lt;/P&gt;
&lt;P&gt;(&lt;A href="https://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-software.html" target="_blank" rel="noopener"&gt;https://blogs.sas.com/content/iml/2013/08/02/how-old-is-your-version-of-sas-release-dates-for-sas-software.html&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;TAGSETS.EXCELXP was added with SAS Version 9.1.3, as my log of your step tells me:&lt;/P&gt;
&lt;PRE&gt;24         ODS TAGSETS.EXCELXP FILE= "$HOME/sascommunity/ODSFILE.XML";
NOTE: Writing TAGSETS.EXCELXP Body file: $HOME/sascommunity/ODSFILE.XML
NOTE: This is the Excel XP tagset (Compatible with SAS 9.1.3 and above, v1.131, 04/23/2015). Add options(doc='help') to the ods 
statement for more information.
25         PROC TABULATE DATA=SASHELP.CLASS;
26         CLASS SEX AGE;
27         VAR HEIGHT;
28         TABLE AGE,SEX*HEIGHT*MEAN;
29         RUN;

NOTE: There were 19 observations read from the data set SASHELP.CLASS.
NOTE: The PROCEDURE TABULATE printed page 1.
NOTE: PROZEDUR TABULATE used (Total process time):
      real time           0.09 seconds
      cpu time            0.03 seconds
      

30         ODS TAGSETS.EXCELXP CLOSE;&lt;/PRE&gt;
&lt;P&gt;I can only advise that you migrate to the current version of SAS ASAP. You are missing out on so many nice features of the language that it really costs you BIG MONEY at the moment in wasted time and missed opportunities.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 14:25:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558961#M156042</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-15T14:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558967#M156044</link>
      <description>HI KurtBremser,&lt;BR /&gt;thanks for the replay&lt;BR /&gt;so the main issue with the old sas version&lt;BR /&gt;what is exact code for the old version to get the output&lt;BR /&gt;please suggest some solution on the present error&lt;BR /&gt;Thnaks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 May 2019 14:37:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558967#M156044</guid>
      <dc:creator>rohitkrishna</dc:creator>
      <dc:date>2019-05-15T14:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAS Error 180-322 when using tagsets.excelxp on mainframe</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558971#M156046</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/259823"&gt;@rohitkrishna&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;HI KurtBremser,&lt;BR /&gt;thanks for the replay&lt;BR /&gt;so the main issue with the old sas version&lt;BR /&gt;what is exact code for the old version to get the output&lt;BR /&gt;please suggest some solution on the present error&lt;BR /&gt;Thnaks &amp;amp; regards&lt;BR /&gt;rohitkrishna&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Simple version: you can't. Back the in the stone age, only Windows installations of SAS could produce Excel files (of the equally archaeologic .xls variety). TAGSETS.EXCELXP was a temporary remedy for that, until the platform-independent DBMS=XLSX came around.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is one way that has worked back with SAS 6.X when I started working with SAS, still works today, and will work long after my bones lie bleaching in the sun: write a csv file with a data step, and read that into Excel. Mind that you can only transfer data; no fancy typesets, no coloring, just data as formatted by SAS in datasets. Maxim 27: Textuality Rules.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2019 14:45:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-Error-180-322-when-using-tagsets-excelxp-on-mainframe/m-p/558971#M156046</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-05-15T14:45:13Z</dc:date>
    </item>
  </channel>
</rss>

