<?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: ODS HTML ZOS Send Mail in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/360659#M18671</link>
    <description>&lt;P&gt;&lt;SPAN&gt;thank you for your reply.&lt;BR /&gt;Now I have&amp;nbsp; a simple example.&amp;nbsp; sas uses the catalog work.gseg to store the graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I specified to him that the exit is in another place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not understand why sas stored graph in wok.gseg&lt;BR /&gt;Is it&amp;nbsp; normal &lt;SPAN class="short_text"&gt;behavior&lt;/SPAN&gt;? or it is me who badly coded the request&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename ODSOUT '...SAS.PDSE' ;

filename body '....SAS.PDSE(body)';

GOPTIONS RESET=ALL DEVICE=PNG;
ODS HTML PATH=ODSOUT(URL=NONE)
BODY=body(URL=none)
RS=NONE;
PROC GCHART DATA=SASHELP.CLASS;
VBAR Height;
RUN;
QUIT;
ODS HTML CLOSE;

proc contents data=work._all_;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 May 2017 09:11:58 GMT</pubDate>
    <dc:creator>mansour_ibrahim</dc:creator>
    <dc:date>2017-05-23T09:11:58Z</dc:date>
    <item>
      <title>ODS HTML ZOS Send Mail</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/359031#M18616</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello,&lt;BR /&gt;I have this request to generate a html report.&lt;BR /&gt;No error in log, but&amp;nbsp;i&amp;nbsp;have a 404 error in the browser IE.&lt;BR /&gt;Can you help me please&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;FILENAME BODY '.exampl.pdse' DISP=(MOD,DELETE,DELETE);
FILENAME BODY  CLEAR;

FILENAME BODY '.exampl.pdse' DISP=(NEW,CATLG,DELETE) 
RECFM=VB LRECL=8196 BLKSIZE=27998 
DISP=NEW;
  

 ods html

  body='examplb'     (url='examplb.htm')
  page='examplp'     (url='examplp.htm')
  contents='examplc' (url='examplc.htm')
  frame='examplf'
  path='.exampl.pdse' (url=none) 
  ;
ods listing close;

 PROC PRINT data=sashelp.class ;
run;
ods html close;

 %macro sendReport();
 %let lien_test=https://.../exampl.pdse.examplb.htm;
 
 FILENAME MAILFIL1 EMAIL
 
 TO=("")
 FROM=("")
 SUBJECT=("")
  ct="text/html";

 DATA _NULL_;
 FILE MAILFIL1;
 PUT '&amp;lt;p&amp;gt;&amp;lt;a href=';
 PUT &amp;amp;lien_test;
 PUT '&amp;gt;test&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;';
 run;

 filename MAILFIL1 clear;

%MEND sendReport;



%sendReport;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 13:58:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/359031#M18616</guid>
      <dc:creator>mansour_ibrahim</dc:creator>
      <dc:date>2017-05-16T13:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML ZOS Send Mail</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/359194#M18619</link>
      <description>Hi:&lt;BR /&gt;  I no longer have mainframe access to test with and it's been a long time since I used a PDSE on the mainframe, I wonder if your BODY=, FILE=, CONTENTS= options are correct. You might want to open a track with Tech Support for more troubleshooting.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Tue, 16 May 2017 20:34:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/359194#M18619</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-16T20:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML ZOS Send Mail</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/360659#M18671</link>
      <description>&lt;P&gt;&lt;SPAN&gt;thank you for your reply.&lt;BR /&gt;Now I have&amp;nbsp; a simple example.&amp;nbsp; sas uses the catalog work.gseg to store the graph.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I specified to him that the exit is in another place.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I do not understand why sas stored graph in wok.gseg&lt;BR /&gt;Is it&amp;nbsp; normal &lt;SPAN class="short_text"&gt;behavior&lt;/SPAN&gt;? or it is me who badly coded the request&lt;BR /&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename ODSOUT '...SAS.PDSE' ;

filename body '....SAS.PDSE(body)';

GOPTIONS RESET=ALL DEVICE=PNG;
ODS HTML PATH=ODSOUT(URL=NONE)
BODY=body(URL=none)
RS=NONE;
PROC GCHART DATA=SASHELP.CLASS;
VBAR Height;
RUN;
QUIT;
ODS HTML CLOSE;

proc contents data=work._all_;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 May 2017 09:11:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/360659#M18671</guid>
      <dc:creator>mansour_ibrahim</dc:creator>
      <dc:date>2017-05-23T09:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: ODS HTML ZOS Send Mail</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/360950#M18684</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt; WORK.GSEG is the default location for SAS/GRAPH catalog entries, as it shows here:&lt;BR /&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/graphref/69717/HTML/default/viewer.htm#n014ro62pa3xu0n165t2qpffbmiv.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/graphref/69717/HTML/default/viewer.htm#n014ro62pa3xu0n165t2qpffbmiv.htm&lt;/A&gt; when it says&lt;BR /&gt;&lt;BR /&gt;=== === quote === ===&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Using the Default Catalog and Entry Name&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you omit the NAME= and GOUT= options, the SAS/GRAPH software uses the default naming convention to name the GRSEG entry and stores the entry in the default WORK.GSEG catalog. The GRSEG naming convention uses up to eight characters of the default name for the procedure as the base name for the GRSEG. If the name generated by the procedure duplicates an existing GRSEG, the name is incremented such as GCHART, GCHART1, GCHART2, and so on. For details, see the description of the NAME= option for a specific procedure.&lt;BR /&gt;&lt;BR /&gt;If you specify a filename for the graphics output file and omit the NAME= option, the graphics output filename is the name specified in the FILENAME statement, and the GRSEG entry name is the default procedure name. When you specify the filename, make sure that you include the appropriate file extension, such as .gif or .ps.&lt;BR /&gt;&lt;BR /&gt;If you specify an aggregate file storage location instead of a specific filename and you omit the NAME= option, the name of both the GRSEG entry and the graphics output file is the default procedure name, and SAS/GRAPH supplies the appropriate file extension.&lt;/P&gt;
&lt;P&gt;=== === end quote === ===&lt;BR /&gt;&lt;BR /&gt;cynthia&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 22:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-HTML-ZOS-Send-Mail/m-p/360950#M18684</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2017-05-23T22:27:05Z</dc:date>
    </item>
  </channel>
</rss>

