Clarity

 View Only
  • 1.  XOG job definitions

    Posted Jun 18, 2014 09:57 AM

    Hi All,

     

    Is it possible to xog out job definitions in Clarity 13.3? I remember being able to xog out and xog them in , in prior versions of Clarity, but 13.3 comes back with no content except for the standard xml format.

     

    Thanks,

    Aneesh



  • 2.  Re: XOG job definitions

    Posted Jun 18, 2014 10:01 AM

    Did you try with - content_pack_read.xml ?

     

    NJ



  • 3.  Re: XOG job definitions

    Posted Jun 18, 2014 10:09 AM

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">

      <Header version="8.0" action="read" objectType="contentPack" externalSource="NIKU">
        <!-- you change the order by simply swap 1 and 2 number in the name attribute -->
        <args contentType="job_definition" name="order_by_1" value="job_code"/>
        <!--args name="order_by_2" value="executable"/-->
        <!--args name="order_by_3" value="jobType"/-->
      </Header>

      <JobQuery>

        <Filter name="code" criteria="EQUALS">Time_Slicing</Filter>

      </JobQuery>
    </NikuDataBus>

     

     

    output -

     

    <NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_contentPack.xsd">

    <Header action="write" externalSource="NIKU" objectType="contentPack" version="13.3.0.286"/>

    <contentPack update="true"/>

    <XOGOutput>

      <Object type="contentPack"/>

      <Status state="SUCCESS"/>

      <Statistics insertedRecords="0" failureRecords="0" totalNumberOfRecords="0" updatedRecords="0"/>

      <Records/>

    </XOGOutput>

    </NikuDataBus>



  • 4.  Re: XOG job definitions
    Best Answer

    Broadcom Employee
    Posted Jun 19, 2014 12:28 PM

    Hello bluefish_Clarity,

     

    Stock reports and jobs wouldn't be exported via Job Defintion XOG. Could you check if you are able to XOG out custom job definitions (if you have any) ?

     

    Thanks,

    Ruchika



  • 5.  Re: XOG job definitions

    Posted Jun 19, 2014 03:31 PM

    Hi Ruchika,

     

    Update_Estimates_From_Alloc - I was able to xog this out and the XOG xml contained all job definition information in it. It also works for SQL stored proc jobs. But not certain jobs, anyways. like you mentioned , may be it works for some job definitions but not all.

     

    Thanks,

    Aneesh