Page 1 of 1

Convert a JOBGROUP into an OPC (TWS/IWS) AD

PostPosted: Wed Sep 19, 2018 6:56 pm
by Steve Coalbran
I want to convert a JCL JOBGROUP into an OPC (/TWS/IWS) AD definition...
But I'm feeling a bit lazy :) and wondered if anyone had developed a neat little tool for this?
I realize that this is relatively new JCL. Came in with JES2 2.2 in 2017(?) (I guess imported from JES3) so perhaps there may be little experience here.
This is my (obfuscated) JOBGROUP...
//ABCBLGRP JOBGROUP (SJ,P),'ABC JOBGROUP',
//*        TYPE=SCAN,
//         ONERROR=STOP,
//         OWNER=ABC1234
//ABCBLS2T GJOB
//ABCBLS2F GJOB
//         AFTER NAME=ABCBLS2T,WHEN=(RC>0 OR ABEND)
//ABCBLSET JOBSET
//         AFTER NAME=ABCBLS2T,WHEN=(RC=0)
//ABCBLR10 SJOB
//ABCBLR12 SJOB
//ABCBLR20 SJOB
//ABCBLR23 SJOB
//ABCBLR40 SJOB
//ABCBLR44 SJOB
//ABCBLR50 SJOB
//ABCBLR55 SJOB
//ABCBLITA SJOB
//ABCBLCLA SJOB
//ABCBLSET ENDSET
//ABCBLSEF GJOB
//         AFTER NAME=ABCBLSET,WHEN=(RC>0 OR ABEND)
//ABCBLRPT GJOB
//         AFTER NAME=ABCBLSET
//         AFTER NAME=ABCBLS2T,WHEN=(RC=0)
//ABCBLGRP ENDGROUP

(PS: I posted this on the Expert Forum before but got no hits :( )

Re: Convert a JOBGROUP into an OPC (TWS/IWS) AD

PostPosted: Wed Sep 19, 2018 7:39 pm
by enrico-sorichetti
the people answering here are the same people answering there

posting the same question on sibling forums will not get You a double number of answers in the same time or the same number of answers in half the time :mrgreen:

Re: Convert a JOBGROUP into an OPC (TWS/IWS) AD

PostPosted: Wed Oct 03, 2018 1:55 pm
by Steve Coalbran
Apologies Enrico. I couldn't find my post on the 'experts' forum so thought others wouldn't either.
It looks like there's not a lot of expertise in the "new" JES2 JCL statements... yet?! :D

Re: Convert a JOBGROUP into an OPC (TWS/IWS) AD

PostPosted: Sat Oct 20, 2018 12:36 pm
by Steve Coalbran
enrico-sorichetti wrote:posting the same question on sibling forums will not get You a double number of answers in the same time or the same number of answers in half the time :mrgreen:

I always tell my project leaders when they say
we can get some more heads on the team?
...
Nine women can't have a baby in 1 month!


BTW: I wrote the AD in TWS last evening, including the 3 changes requested since then!