Gen

  • 1.  how do we run the Gen batch programs on distributed platform

    Broadcom Employee
    Posted 12-20-2016 07:56 AM

    our customer has below query.

     

    We have an application which is currently running on z/OS with Gen version 7.6 and Gen programs are used for both batch and online. We are planning to migrate to distributed platform and use Gen version 8.5 ( utilizing the Java output so that it can run outside the mainframe platform) .

     Our query is about how do we run the Gen batch programs ( preferably using Spring Batch framework) on distributed platform.

     

    Any help with the question?

     

    Regards,

    Amit



  • 2.  Re:  how do we run the Gen batch programs on distributed platform

    Posted 12-20-2016 08:30 PM

    There's multiple ways to skin the cat, though I've not a huge amount of experience doing this with Java.

     

    The obvious solution that comes to mind for me is to repackage each job step as a cooperative server you deploy under AEFAD/AEFUF, then use Java proxies from a Spring Batch process to provide the glue between them, essentially replicating the logic of the JCL that would've been used to submit the batch job in the first place.  Things might get a bit funky if there's lots of data to pass, but nothing insurmountable.

     

    You could also create a single coop server with each job as CABs and trigger the coop server through multiple means (proxy, web service call). 

    If you weren't Java constrained, a non-display Window load module would work as well, and eliminate the need for AEFAD/AEFUF. 

    You could package it as a Windowless non-coop Window and build for WebView, then use cURL or similar to trigger a request to the page which would fire the logic off (timeouts on this may be an issue).

     

    There's probably a few ways it could be approached, some with more code changes than others, and it would depend on the customer's skill set and comfort zone.



  • 3.  Re:  how do we run the Gen batch programs on distributed platform

    Broadcom Employee
    Posted 12-21-2016 02:53 AM

    Thank you so much for the detailed explanation!!!

    really appreciated.

     

    Regards,

    Amit