ESP Workload Automation

  • 1.  How to handle DB2 Utilities and Encore

    Posted Jul 04, 2018 11:52 PM

    There has been a challenge with Encore cleaning up GDG datasets that are actually from a DB2 Reorg utility.

     

    When the job is restarted, Encore cleans up the GDG but DB2 still has info in SYSCOPY Table.

     

    What is the best way to handle this specific situation?  Have the APPL tell Encore not to clean up GDGs? 

     

    Or are there other solutions?

    Thanks

     

    Lizette



  • 2.  Re: How to handle DB2 Utilities and Encore

    Broadcom Employee
    Posted Jul 05, 2018 04:42 PM

    Hi Lizette,

     

    As you may already know, the purpose of cleanup by Encore is meant to avoid JCL error when the job reruns.

     

    From ESP/Encore side, you can either use ENCPARM CLEANUP RESTART(NO) or ENCPARM IGNOREDS for the job. But the job could fail.

     

    Hope other users can provide better options.

     

    Lucy



  • 3.  Re: How to handle DB2 Utilities and Encore

    Posted Jul 09, 2018 03:43 PM

    Hi Lizette, 

    I agree with Lucy. 

    I had a similar issue with DB2.  In my case the datasets for DB2 started with a specific first and second node. I was able to use a generic IGNOREDS so these DB2 gdgs would not be deleted.   

     

    Don