AutoSys Workload Automation

 View Only

delete_job/delete_box showing past dependents along with current ones?

  • 1.  delete_job/delete_box showing past dependents along with current ones?

    Posted Apr 10, 2020 11:02 AM
    Edited by Christopher Hackett Apr 10, 2020 11:02 AM
    Hello,

    Sorry in advance for the long post, hopefully this is quick to answer. Just trying to confirm something I'm observing in AutoSys (AE 11.3.6.191 I think).
    [ as_info ]
    CA Workload Automation AE - Installation Information
    as_info.out263 (95%)
    Product Version: 11.3.6.191
    Install Time: 05/06/2016 12:29

    I'm noticing that when running delete_box (manually or via JIL file), the message on dependents (CAUAJM_I_10239) still lists deleted dependents along with current ones. Is this normal (have seen info on the ujo_job table which might be related, links at bottom) or maybe a problem with our installation?

    No big deal, just confused me at first, led to questions about whether past dependents were affecting scheduling. Doesn't seem to be the case. Info from autorep looks good (only shows current conditions), and scheduling worked correctly (not affected by past conditons as far as I can tell). Still, am curious to find out for sure if possible. As an example, let's say I have this box:

    CO_1016_TEST_BOX (v1)
      CO_1016_TEST_JOB_A
      CO_1016_TEST_JOB_B
      CO_1016_TEST_JOB_C

    If it goes through the following iterations:

    CO_1016_TEST_BOX (v2)
      CO_1016_TEST_JOB_A
      CO_1016_TEST_JOB_B
      CO_1016_TEST_JOB_C, condition: s(CO_1016_TEST_JOB_A)

    CO_1016_TEST_BOX (v3)
      CO_1016_TEST_JOB_A
      CO_1016_TEST_JOB_B, condition: s(CO_1016_TEST_JOB_A)
      CO_1016_TEST_JOB_C

    CO_1016_TEST_BOX (v4)
      CO_1016_TEST_JOB_A
      CO_1016_TEST_JOB_B
      CO_1016_TEST_JOB_C

    In the end I'm seeing something like:

    [ delete_job: CO_1016_TEST_BOX ]
    CAUAJM_I_50200 Attempting to Delete Job: CO_1016_TEST_BOX
    **
    CAUAJM_I_10239 Jobs which are dependent on the
    DELETED Job: CO_1016_TEST_JOB_A
      CO_1016_TEST_JOB_C
      CO_1016_TEST_JOB_B
    **
    CAUAJM_I_50202 Delete was successful!


    [ job_depends -J CO_1016_TEST_BOX -d ]
    Job Dependency Report
    Job Name Date Cond? Atomic Start Conditions
    ______________________________ _______________ _______________________
    CO_1016_TEST_BOX ------- -------
      CO_1016_TEST_JOB_A ------- -------
      CO_1016_TEST_JOB_B ------- -------
      CO_1016_TEST_JOB_C ------- -------

    I'm thinking the "CAUAJM_I_10239" message reads all entries in the ujo_job table including inactive/obsolete ones? I see that AE 11.3.x keeps inactive/obsolete job versions in the ujo_job table:


    Have also seen info in the user/reference guides on archive_jobs and the like, which, if we use to solve this, am thinking it would be beyond me and for the project's AutoSys Administrator to decide on and execute.

    Anyway thanks ahead of time for any info/suggestions, I hope it's just an attribute or other simple option that I didn't know of.

    - Eric