<?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: How to execute a SAS job through Control M ? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829610#M327783</link>
    <description>&lt;P&gt;The documentation tells you how to run in SAS batch mode:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p16esisc4nrd5sn1ps5l6u8f79k6.htm#p01fzykn6n0s73n164xasi1t3ii9" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p16esisc4nrd5sn1ps5l6u8f79k6.htm#p01fzykn6n0s73n164xasi1t3ii9&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then it's amatter of triggering it from CTRL M - and here you could get help from you local CTRL M team.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Aug 2022 07:16:57 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-08-22T07:16:57Z</dc:date>
    <item>
      <title>How to execute a SAS job through Control M ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829170#M327578</link>
      <description>&lt;P&gt;good day,&amp;nbsp;&lt;/P&gt;&lt;P&gt;am trying to execute sas jobs through controlM .any idea how i can achieve this. below is my library name&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;/SAS/data/RiskDataManagement/data/NWOW/data/VBM/ControlM/DatatoHiveScripts.sas&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 10:22:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829170#M327578</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2022-08-18T10:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a SAS job through Control M ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829175#M327580</link>
      <description>&lt;P&gt;If you have a SAS Metadata Server, and have deployed jobs from e.g. Data Integration Studio, you can get the full command line for each job in the deployed jobs properties in SAS Management Console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option is to schedul flow of SAS jobs in SAS for host operation system scheduler. That will creata a .bat/.sh script which you can call from CTRL M.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:10:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829175#M327580</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-08-18T12:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a SAS job through Control M ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829188#M327588</link>
      <description>Is there a video or a document that can guide me through this process , am using SAS enterprise guide</description>
      <pubDate>Thu, 18 Aug 2022 12:50:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829188#M327588</guid>
      <dc:creator>Rixile106</dc:creator>
      <dc:date>2022-08-18T12:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a SAS job through Control M ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829196#M327592</link>
      <description>&lt;P&gt;Start by making your code batch-ready (no ERRORs, no WARNINGs, clean log). Retrieve dynamic control data from environment variables.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the company where I worked, we had a shell script called sasbatch which took over all the SAS-related stuff (record the job start, run the job, record the job end and return code).&lt;/P&gt;
&lt;P&gt;From Control-M, which still ran on a mainframe, the JCL script created a UNIX wrapper script which set the necesssary parameters for a given job, copied this script to the UNIX server (sftp), ran the script (ssh), and once it was finished, retrieved the results (which were recorded in a file, once again sftp). The SAS job return code (recorded in the file) was then set as exit code for the JCL script.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 13:25:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829196#M327592</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-08-18T13:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a SAS job through Control M ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829610#M327783</link>
      <description>&lt;P&gt;The documentation tells you how to run in SAS batch mode:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p16esisc4nrd5sn1ps5l6u8f79k6.htm#p01fzykn6n0s73n164xasi1t3ii9" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/hostwin/p16esisc4nrd5sn1ps5l6u8f79k6.htm#p01fzykn6n0s73n164xasi1t3ii9&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Then it's amatter of triggering it from CTRL M - and here you could get help from you local CTRL M team.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 07:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829610#M327783</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-08-22T07:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute a SAS job through Control M ?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829740#M327844</link>
      <description>&lt;P&gt;Reach out to your SAS administrator. Most likely they are running SAS batch jobs already and can guide you on the steps involved.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 20:20:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-execute-a-SAS-job-through-Control-M/m-p/829740#M327844</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-08-22T20:20:41Z</dc:date>
    </item>
  </channel>
</rss>

