<?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 Job within a job: Data Integration in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38144#M2712</link>
    <description>Can I have a job within a job. if yes then how? How is the nesting of procedures done within Data Integration?</description>
    <pubDate>Mon, 11 Aug 2008 20:30:35 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-08-11T20:30:35Z</dc:date>
    <item>
      <title>Job within a job: Data Integration</title>
      <link>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38144#M2712</link>
      <description>Can I have a job within a job. if yes then how? How is the nesting of procedures done within Data Integration?</description>
      <pubDate>Mon, 11 Aug 2008 20:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38144#M2712</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-08-11T20:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Job within a job: Data Integration</title>
      <link>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38145#M2713</link>
      <description>Hi:&lt;BR /&gt;
  This is not a stored process question.&lt;BR /&gt;
&lt;BR /&gt;
  Generally speaking, if you have a library of SAS Autocall macro programs (let's say you had some macro programs for daily versus weekly processing...then you might have a SAS program with code like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
&lt;BR /&gt;
%macro myjob;&lt;BR /&gt;
&lt;BR /&gt;
%if (condition for daily processing) %then %do;&lt;BR /&gt;
    %daily;&lt;BR /&gt;
%end;&lt;BR /&gt;
%else %if (condition for weekly processing) %then %do;&lt;BR /&gt;
   %weekly;&lt;BR /&gt;
%end;&lt;BR /&gt;
&lt;BR /&gt;
%mend myjob;&lt;BR /&gt;
&lt;BR /&gt;
%myjob;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
The macro program does not define the %DAILY or the %WEEKLY macro programs, it just calls them from the autocall macro location on your BI server.&lt;BR /&gt;
&lt;BR /&gt;
Or, if you have the job scheduler set up and implemented in your configuration, there are ways to submit multiple jobs and define job dependencies.&lt;BR /&gt;
 &lt;BR /&gt;
Again, the best resource for your questions is the Platform Administration or Job Scheduler documentation and/or the Data Integration Studio class or the Data Integration Fast Track class or consulting Tech Support.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Mon, 11 Aug 2008 20:49:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38145#M2713</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-08-11T20:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Job within a job: Data Integration</title>
      <link>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38146#M2714</link>
      <description>In the current release there is limited support for nesting jobs. By using Loop and Loop end transformations you can conditionally call/loop one other DI Studio job. I believe there will some more functionality in this area with 9.2 version.&lt;BR /&gt;
&lt;BR /&gt;
But you can whatever you like by using the Cynthia mention, but then It won't be a DI Studio process.&lt;BR /&gt;
&lt;BR /&gt;
Regards,&lt;BR /&gt;
Linus</description>
      <pubDate>Fri, 15 Aug 2008 13:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38146#M2714</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2008-08-15T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Job within a job: Data Integration</title>
      <link>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38147#M2715</link>
      <description>But they can still put the code block with the macro call in the flow. And/or they can put it in a SP and turn the SP into a DI studio job. But generally when it comes down to questions like this, I always have to go back to the beginning and ask -- what is the situation that leads needing a job within a job? Examine those conditions and requirements and see whether there is another approach that would work equally well.&lt;BR /&gt;
&lt;BR /&gt;
 cynthia</description>
      <pubDate>Fri, 15 Aug 2008 16:17:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Job-within-a-job-Data-Integration/m-p/38147#M2715</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-08-15T16:17:52Z</dc:date>
    </item>
  </channel>
</rss>

