Automic Workload Automation

  • 1.  Modification to JSCH object not taking effect

    Posted Aug 27, 2018 10:22 AM

    Hi,

    I have a JSCH object which I have modified, added some new Jobs and removed others.

    I then load this JSCH into my production environment, replacing the existing one.

     

    For my change to take effect, it looks like I need to Quit and then restart my JSCH.

    If I do nothing after loading in my new schedule the old schedule will continue to run as before.

     

    Is this correct?

     

    John.



  • 2.  Re: Modification to JSCH object not taking effect
    Best Answer

    Posted Aug 27, 2018 10:34 AM

    Yes. Or you can set the running instance to reload its definition at the turnaround time (by default, midnight).



  • 3.  Re: Modification to JSCH object not taking effect

    Posted Aug 27, 2018 10:45 AM

    My new schedule was loaded on 21st Aug to run daily but we only noticed today that it never ran.

    I do understand about the turnaround at midnight and so this is why I expected my new jobs to run on 22nd, but they didn't.



  • 4.  Re: Modification to JSCH object not taking effect

    Posted Aug 27, 2018 11:20 AM



  • 5.  Re: Modification to JSCH object not taking effect

    Posted Aug 27, 2018 11:22 AM

    The reload at midnight doesn't happen unless you specifically request it.



  • 6.  Re: Modification to JSCH object not taking effect

    Posted Aug 27, 2018 11:30 AM

    Interesting......

     

    I have set something up in DEV to test again and see what happens after midnight tonight...

     

    I don't see this option in AWI in either Process Monitor or Process Assembly

     

     



  • 7.  Re: Modification to JSCH object not taking effect

    Posted Aug 27, 2018 02:45 PM

    I think the option was added to the AWI in 12.2. 

     

    This option has been available in the AWI since at least v12.0, and can be found in the Modify Schedule menu of the Schedule Monitor window for the schedule.

     

    See Modifying Active Schedules in the documentation.



  • 8.  Re: Modification to JSCH object not taking effect

    Posted Aug 28, 2018 06:18 AM

    My test results from overnight are in.

     

    I have exact same JSCH running in 2 different TEST environments (TEST1, TEST2) each with 1 single daily Job.

     

    I Added a second Task to JSCH on TEST1 yesterday and used the transport case to upload to TEST2

     

    When I check TEST1 today,  I can see that the 2nd Task I added will run later today.

     

     

     When I check the Monitor of my JSCH on TEST2 I only see 1 Task.

     

     

    So, it looks like if you use transport case to update a JSCH, you either have to stop/start the schedule or use the "Reload Definition" option.

     

    Now that I know this, I can let the users know.



  • 9.  Re: Modification to JSCH object not taking effect

    Posted Aug 28, 2018 06:20 AM

    That is correct. That’s what we do.