<?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 Link for different webouts in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Link-for-different-webouts/m-p/570588#M5913</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am trying to create a stored process that the webout varies according to what the user selects, I created this code to test but it doesn't work, could someone tell me why?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%global M_Opt_FT;&lt;BR /&gt;/*"User will pass this parameter by another stored process, here i just created him to debug"*/
%let M_Opt_FT=NOVO;


%macro test;
 %if "&amp;amp;M_Opt_FT" = NOVO %then %do;
 
	data _null_;

	/*  		if "&amp;amp;M_Opt_FT" = NOVO then do;*/
			file _webout;
			put '&amp;lt;html&amp;gt;';
			put '&amp;lt;body&amp;gt;';
			put '&amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;FAST TRACK&amp;lt;/TITLE&amp;gt;&amp;lt;/HEAD&amp;gt;';
		/*	put '&amp;lt;FONT face=Arial size=2 COLOR="#000000"&amp;gt;;&amp;lt;B&amp;gt;BANCO ABC BRASIL&amp;lt;/B&amp;gt;&amp;lt;/FONT&amp;gt;';*/
			put '&amp;lt;FORM action="https://sasabc.abcbrasil.com.br/SASStoredProcess/do" enctype="multipart/form-data" method="post"&amp;gt;';
				put '&amp;lt;fieldset&amp;gt;';
					put '&amp;lt;legend&amp;gt;FAST TRACK&amp;lt;/legend&amp;gt;';
					put '&amp;lt;B&amp;gt;CRC empresa a ser pesquisada:&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;input type="text" name="M_Crc_Cliente"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;B&amp;gt;Data balanço mais recente:&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;input type="date" name="M_Bal_Recente"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;B&amp;gt;Data balanço mais antigo:&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;input type="date" name="M_Bal_Antigo"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;INPUT name="_program" type=hidden value="/BancoABC/Publico/StoredProcedure/fastTrack_2"&amp;gt;';
					put '&amp;lt;INPUT name=_debug type=hidden value=0&amp;gt;';
					put '&amp;lt;/select&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;';
					put '&amp;lt;INPUT name=B1 type=submit value=ENVIAR&amp;gt;';
				put '&amp;lt;/fieldset&amp;gt;';
			put '&amp;lt;/FORM&amp;gt;';
			put '&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
			put '&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;';
	   
	run;
	 
 %end; /* not simply closing the prior please wait */
 
%mend test;
%test;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 02 Jul 2019 14:59:43 GMT</pubDate>
    <dc:creator>wsdabreu</dc:creator>
    <dc:date>2019-07-02T14:59:43Z</dc:date>
    <item>
      <title>Link for different webouts</title>
      <link>https://communities.sas.com/t5/Developers/Link-for-different-webouts/m-p/570588#M5913</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am trying to create a stored process that the webout varies according to what the user selects, I created this code to test but it doesn't work, could someone tell me why?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%global M_Opt_FT;&lt;BR /&gt;/*"User will pass this parameter by another stored process, here i just created him to debug"*/
%let M_Opt_FT=NOVO;


%macro test;
 %if "&amp;amp;M_Opt_FT" = NOVO %then %do;
 
	data _null_;

	/*  		if "&amp;amp;M_Opt_FT" = NOVO then do;*/
			file _webout;
			put '&amp;lt;html&amp;gt;';
			put '&amp;lt;body&amp;gt;';
			put '&amp;lt;HEAD&amp;gt;&amp;lt;TITLE&amp;gt;FAST TRACK&amp;lt;/TITLE&amp;gt;&amp;lt;/HEAD&amp;gt;';
		/*	put '&amp;lt;FONT face=Arial size=2 COLOR="#000000"&amp;gt;;&amp;lt;B&amp;gt;BANCO ABC BRASIL&amp;lt;/B&amp;gt;&amp;lt;/FONT&amp;gt;';*/
			put '&amp;lt;FORM action="https://sasabc.abcbrasil.com.br/SASStoredProcess/do" enctype="multipart/form-data" method="post"&amp;gt;';
				put '&amp;lt;fieldset&amp;gt;';
					put '&amp;lt;legend&amp;gt;FAST TRACK&amp;lt;/legend&amp;gt;';
					put '&amp;lt;B&amp;gt;CRC empresa a ser pesquisada:&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;input type="text" name="M_Crc_Cliente"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;B&amp;gt;Data balanço mais recente:&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;input type="date" name="M_Bal_Recente"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;B&amp;gt;Data balanço mais antigo:&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;input type="date" name="M_Bal_Antigo"&amp;gt;&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
					put '&amp;lt;INPUT name="_program" type=hidden value="/BancoABC/Publico/StoredProcedure/fastTrack_2"&amp;gt;';
					put '&amp;lt;INPUT name=_debug type=hidden value=0&amp;gt;';
					put '&amp;lt;/select&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;';
					put '&amp;lt;INPUT name=B1 type=submit value=ENVIAR&amp;gt;';
				put '&amp;lt;/fieldset&amp;gt;';
			put '&amp;lt;/FORM&amp;gt;';
			put '&amp;lt;BR&amp;gt;&amp;lt;BR&amp;gt;';
			put '&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;';
	   
	run;
	 
 %end; /* not simply closing the prior please wait */
 
%mend test;
%test;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Jul 2019 14:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Link-for-different-webouts/m-p/570588#M5913</guid>
      <dc:creator>wsdabreu</dc:creator>
      <dc:date>2019-07-02T14:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Link for different webouts</title>
      <link>https://communities.sas.com/t5/Developers/Link-for-different-webouts/m-p/572025#M5914</link>
      <description>&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;What problem are you experiencing when you run the code?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;You might want to try omitting the STPBEGIN/STPEND macro invocations if you are using them.&amp;nbsp; In some cases SAS Enterprise Guide automatically adds these macro invocations, so that is something else to check.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;Vince DelGobbo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="verdana,geneva"&gt;SAS R&amp;amp;D&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2019 13:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Link-for-different-webouts/m-p/572025#M5914</guid>
      <dc:creator>Vince_SAS</dc:creator>
      <dc:date>2019-07-09T13:14:26Z</dc:date>
    </item>
  </channel>
</rss>

