<?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 email attachments in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1623#M731</link>
    <description>I am sending an email from the mainframe with 2 files attached. One is a PDF and the other is XLS.&lt;BR /&gt;
I have used 2 attach statements as so:&lt;BR /&gt;
&lt;BR /&gt;
ATTACH=("CPMS.D72.CSD.DALIB.RESULTSP" CT='APPLICATION/PDF' EXT='PDF')&lt;BR /&gt;
ATTACH=("CPMS.D72.CSD.DALIB.RESULTSX" EXT='XLS');                    &lt;BR /&gt;
&lt;BR /&gt;
When I receive the email only 1 of the attachments has the extension applied. The other has no extension.&lt;BR /&gt;
If I swap the 2 attach statements around, the other file has its extension.&lt;BR /&gt;
Does anyone know how I can give both files their extensions?</description>
    <pubDate>Tue, 24 Oct 2006 15:15:21 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2006-10-24T15:15:21Z</dc:date>
    <item>
      <title>Mainframe email attachments</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1623#M731</link>
      <description>I am sending an email from the mainframe with 2 files attached. One is a PDF and the other is XLS.&lt;BR /&gt;
I have used 2 attach statements as so:&lt;BR /&gt;
&lt;BR /&gt;
ATTACH=("CPMS.D72.CSD.DALIB.RESULTSP" CT='APPLICATION/PDF' EXT='PDF')&lt;BR /&gt;
ATTACH=("CPMS.D72.CSD.DALIB.RESULTSX" EXT='XLS');                    &lt;BR /&gt;
&lt;BR /&gt;
When I receive the email only 1 of the attachments has the extension applied. The other has no extension.&lt;BR /&gt;
If I swap the 2 attach statements around, the other file has its extension.&lt;BR /&gt;
Does anyone know how I can give both files their extensions?</description>
      <pubDate>Tue, 24 Oct 2006 15:15:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1623#M731</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-10-24T15:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe email attachments</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1624#M732</link>
      <description>Are you using the attach parameter twice? My emails from z/OS use the attach parameter just once and I have never had this problem e.g.&lt;BR /&gt;
&lt;BR /&gt;
ATTACH=("CPMS.D72.CSD.DALIB.RESULTSP" CT='APPLICATION/PDF' EXT='PDF' "CPMS.D72.CSD.DALIB.RESULTSX" EXT='XLS');</description>
      <pubDate>Wed, 25 Oct 2006 09:27:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1624#M732</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-10-25T09:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mainframe email attachments</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1625#M733</link>
      <description>I also find that the type=image/gif works well for the pdf or rtf or xls file.  See below:&lt;BR /&gt;
&lt;BR /&gt;
filename outbox email&lt;BR /&gt;
   to='john.c.hennessey@ssa.gov'&lt;BR /&gt;
    subject='batch output'&lt;BR /&gt;
    attach=("ais.p2222jch.outpdf" type='image/gif' extension='rtf'  "ais.p2222jch.tran" type='text/plain' extension='txt');</description>
      <pubDate>Wed, 25 Oct 2006 16:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Mainframe-email-attachments/m-p/1625#M733</guid>
      <dc:creator>JohnH</dc:creator>
      <dc:date>2006-10-25T16:38:58Z</dc:date>
    </item>
  </channel>
</rss>

