<?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: (1) Create a job flow, (2) copy-paste program sheets and (3) run them-&amp;gt; writing SAS Code in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565547#M11198</link>
    <description>&lt;P&gt;I think your answer did not get pasted&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 13:18:48 GMT</pubDate>
    <dc:creator>carles</dc:creator>
    <dc:date>2019-06-12T13:18:48Z</dc:date>
    <item>
      <title>(1) Create a job flow, (2) copy-paste program sheets and (3) run them-&gt; writing SAS Code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565508#M11187</link>
      <description>&lt;P&gt;Hello Guys !,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am quite new to SAS, and I am having a general question that I am interested in:&lt;/P&gt;&lt;P&gt;This question englobes 3 small questions:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Those are:&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;How to create a job flow using SAS Code&lt;/LI&gt;&lt;LI&gt;How to copy paste programs sheets (from a main file) and changing their name for another using SAS Code.&lt;/LI&gt;&lt;LI&gt;How to run these programs just created using SAS Code.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Besides the potential question to the purpose of it, I am gonna ilustrate what I have and what I want:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="QuestionSAS3.PNG" style="width: 685px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30237i78031E158410274E/image-dimensions/685x330?v=v2" width="685" height="330" role="button" title="QuestionSAS3.PNG" alt="QuestionSAS3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do so ?&lt;/P&gt;&lt;P&gt;I have not been able to supply my SAS file example for it, but it would only have something written the Main program, which is:&lt;/P&gt;&lt;PRE&gt;%let products = A B ;
%let years = 2014 2015;
for year in years:
	for type in products:

		(1) create flux with name product{i}years{year}
		(2) copypaste the programs Code1, Code2 with name as shown in example 
		(3) run Code1-YYYYP, Code2-YYYYP

&lt;/PRE&gt;&lt;P&gt;I don't either want someone to make me the loops, since I can do that. I only want to know the code for inside the loop.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advanced for your time and consideration,&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 13:25:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565508#M11187</guid>
      <dc:creator>carles</dc:creator>
      <dc:date>2019-06-12T13:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: (1) Create a job flow, (2) copy-paste program sheets and (3) run them-&gt; writing SAS Code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565543#M11197</link>
      <description />
      <pubDate>Wed, 12 Jun 2019 12:56:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565543#M11197</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-06-12T12:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: (1) Create a job flow, (2) copy-paste program sheets and (3) run them-&gt; writing SAS Code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565547#M11198</link>
      <description>&lt;P&gt;I think your answer did not get pasted&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 13:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565547#M11198</guid>
      <dc:creator>carles</dc:creator>
      <dc:date>2019-06-12T13:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: (1) Create a job flow, (2) copy-paste program sheets and (3) run them-&gt; writing SAS Code</title>
      <link>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565850#M11260</link>
      <description>&lt;P&gt;Reading the post, I don't really see the purpose.&lt;/P&gt;
&lt;P&gt;If this EG (look like from the screen shot), this would defeat the purpose of the tool.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EG is not an application builder for end user applications. You are using the UI itself to build flows, typically ad-hoc programs.&lt;/P&gt;
&lt;P&gt;To answer your question, I can't see this could happen using SAS code.&lt;/P&gt;
&lt;P&gt;EG UI is a .net application, that in turn can submit SAS code to a SAS server. SAS code itself doesn't execute in EG.&lt;/P&gt;
&lt;P&gt;Theoretically you could use .net to build plug-in to to this, but I can't really see the benefit...&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 14:00:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/1-Create-a-job-flow-2-copy-paste-program-sheets-and-3-run-them/m-p/565850#M11260</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-06-13T14:00:47Z</dc:date>
    </item>
  </channel>
</rss>

