<?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: job in parallel in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432251#M13388</link>
    <description>&lt;P&gt;This sounds like a slightly different question, and it's best practice to create a new thread, that would make the issue and its potential solution easier to find.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, what have you tried?&lt;/P&gt;
&lt;P&gt;I think a simple macro variable (parameter) evaluation would work.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 15:25:02 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2018-01-30T15:25:02Z</dc:date>
    <item>
      <title>job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/430324#M13336</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to develop a SAS Data integration Studio job (call it myjob) that runs some jobs in parallel.&lt;/P&gt;&lt;P&gt;When I drag and drop a jobs (call them job1, job2, etc.) in myjob, the tool automatically create an execution order between job1 and job2.&lt;BR /&gt;So I cannot avoid an execution order and forced to run the job in a sequential order.&lt;BR /&gt;But I would run the jobs in parallel, or run some tasks in parallel. How can I do it?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 09:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/430324#M13336</guid>
      <dc:creator>niespolo</dc:creator>
      <dc:date>2018-01-24T09:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/430568#M13337</link>
      <description>&lt;P&gt;Basically, i defer from using DI Studio's job-in-job functionality unless I want to build parametrized loop jobs.&lt;/P&gt;
&lt;P&gt;I think that defining isolated (non-iterative/parametrized) job sequences is best done in your scheduling tool/software (for some like cron/WinTask and LSF) can be defined even in SAS Management Console.&lt;/P&gt;
&lt;P&gt;On drawback I see to use job-in-job is the lengthy logs, hard to monitor etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, there is a Fork transformation that might work for this (haven't tried it with jobs, only "normal" transformations).&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:20:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/430568#M13337</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-01-24T18:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/430582#M13340</link>
      <description>&lt;P&gt;Edit: just tested the Fork, and it seem you can not map jobs to it, only other transformations.&lt;/P&gt;
&lt;P&gt;So I guess my first recommendation is still the most viable...&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2018 18:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/430582#M13340</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-01-24T18:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432156#M13378</link>
      <description>&lt;P&gt;I've created a loop transformation. The job included in the loop uses an Execute Transform, that should call an Oracle stored procedure for each parameter values. Actually, the user written code of this transform is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;

connect to oracle (user=DWH
                   password=&amp;lt;password&amp;gt;
                   path=GEC);

execute(execute myproc('CLIENTE', 11)) by oracle;

disconnect from oracle;

quit;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;i would sobstitute the 11 value with a parameter but SAS doesn't recognize the syntax of the parameter, because "11" is in the Oracle code statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 12:20:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432156#M13378</guid>
      <dc:creator>niespolo</dc:creator>
      <dc:date>2018-01-30T12:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432251#M13388</link>
      <description>&lt;P&gt;This sounds like a slightly different question, and it's best practice to create a new thread, that would make the issue and its potential solution easier to find.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That said, what have you tried?&lt;/P&gt;
&lt;P&gt;I think a simple macro variable (parameter) evaluation would work.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 15:25:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432251#M13388</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-01-30T15:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432368#M13403</link>
      <description>&lt;P&gt;Before correcting the question in my last post, I've commented the user code in the Execute Transform.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried to create the&amp;nbsp;job_test:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job_test.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18204i73B1253C56A5B704/image-size/large?v=v2&amp;amp;px=999" role="button" title="job_test.png" alt="job_test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But the loop runs for 2-3 minutes and ends in error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The job cliente_NETAS_test ends without errors when Loop and Loop End are disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The parameter details follow:&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="cliente_NETAS_test.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18206i7C1FFA63400D9437/image-size/large?v=v2&amp;amp;px=999" role="button" title="cliente_NETAS_test.png" alt="cliente_NETAS_test.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="loop.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18205i6383BE603F43BACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="loop.png" alt="loop.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:45:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432368#M13403</guid>
      <dc:creator>niespolo</dc:creator>
      <dc:date>2018-01-30T17:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: job in parallel</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432377#M13404</link>
      <description>&lt;P&gt;The errors after runing the job is:&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="job_test.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/18209i52C5AF20C48D4BE5/image-size/large?v=v2&amp;amp;px=999" role="button" title="job_test.png" alt="job_test.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:51:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/job-in-parallel/m-p/432377#M13404</guid>
      <dc:creator>niespolo</dc:creator>
      <dc:date>2018-01-30T17:51:28Z</dc:date>
    </item>
  </channel>
</rss>

