<?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: Two DI Studio jobs sharing the same dynamically updated parameter? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81533#M742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess some of these might help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Set the parameter in the autoexec, either directly with %let or by reading a table and assigning the vairable. Then use it in the two jobs.&lt;/P&gt;&lt;P&gt;- Store the parameter in a table and create a macro that read the table and create the parameter. Put the macro in then pre-code of the two jobs.&lt;/P&gt;&lt;P&gt;- Create a macro that define the parameter using %let and add the macro to the pre-code of the two jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure you can find more solutions, but some of these should do the job....&lt;/P&gt;&lt;P&gt;//Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2012 14:30:46 GMT</pubDate>
    <dc:creator>FredrikE</dc:creator>
    <dc:date>2012-11-27T14:30:46Z</dc:date>
    <item>
      <title>Two DI Studio jobs sharing the same dynamically updated parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81531#M740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way for two DI Studio jobs to share the same parameter? I know I can import a parameter from one job to another, but I need them to be "the same". If I change the parameter in one job, it should also automatically be changed for the other one. The parameter I have in mind would be a very simple numeric one, with a value from 1-10.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 13:36:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81531#M740</guid>
      <dc:creator>EinarRoed</dc:creator>
      <dc:date>2012-11-27T13:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Two DI Studio jobs sharing the same dynamically updated parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81532#M741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you mean by changing the parameter?&lt;/P&gt;&lt;P&gt;The name, or the (default) value of it?&lt;/P&gt;&lt;P&gt;Parameters are meant to be dynamic, and the value of the parameter is set during run time. How do you set your parameter value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 14:16:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81532#M741</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-11-27T14:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Two DI Studio jobs sharing the same dynamically updated parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81533#M742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess some of these might help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Set the parameter in the autoexec, either directly with %let or by reading a table and assigning the vairable. Then use it in the two jobs.&lt;/P&gt;&lt;P&gt;- Store the parameter in a table and create a macro that read the table and create the parameter. Put the macro in then pre-code of the two jobs.&lt;/P&gt;&lt;P&gt;- Create a macro that define the parameter using %let and add the macro to the pre-code of the two jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure you can find more solutions, but some of these should do the job....&lt;/P&gt;&lt;P&gt;//Fredrik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2012 14:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81533#M742</guid>
      <dc:creator>FredrikE</dc:creator>
      <dc:date>2012-11-27T14:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Two DI Studio jobs sharing the same dynamically updated parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81534#M743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LinusH: I have one job where I've set up a parameter called &amp;amp;delay with the value "2". I then import the parameter into a second job, so that both jobs have identical &amp;amp;delay parameters. The problem is that if I change it from "2" to "3" in one job, it doesn't change in the other. I need to find a way for it to do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FredrikE: Thanks, I'll go through the suggestions. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 08:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81534#M743</guid>
      <dc:creator>EinarRoed</dc:creator>
      <dc:date>2012-11-28T08:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Two DI Studio jobs sharing the same dynamically updated parameter?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81535#M744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As i mentioned, parameters are mainly set in run time.&lt;/P&gt;&lt;P&gt;Setting default values is primarily for testing in DI. If you don't pass parameters into the job, you could as well set a macro variable in the pre-code.&lt;/P&gt;&lt;P&gt;Is it a parameter you really need? By following Frediks suggestions, you don't need parameters, just use macro variables right off.&lt;/P&gt;&lt;P&gt;parameters are used when calling a job from an outer job, linking variable values to parameters, or if your job is deployed as a Stored Process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2012 11:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Two-DI-Studio-jobs-sharing-the-same-dynamically-updated/m-p/81535#M744</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2012-11-28T11:27:31Z</dc:date>
    </item>
  </channel>
</rss>

