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



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

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

Postby Steve Coalbran » Wed Sep 19, 2018 6:56 pm

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 :( )
Steve
User avatar
Steve Coalbran
 
Posts: 130
Joined: Wed Apr 06, 2011 11:49 am
Location: Stockholm, Sweden
Has thanked: 13 times
Been thanked: 1 time

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

 

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

Postby enrico-sorichetti » Wed Sep 19, 2018 7:39 pm

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:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2775
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 147 times

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

Postby Steve Coalbran » Wed Oct 03, 2018 1:55 pm

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
Steve
User avatar
Steve Coalbran
 
Posts: 130
Joined: Wed Apr 06, 2011 11:49 am
Location: Stockholm, Sweden
Has thanked: 13 times
Been thanked: 1 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post