Re: Detect if STC is running under sub=mstr

2009-05-21 Thread Peter Relson
Gerhard Postpischil wrote Field SSIBSSNM has the controlling subsystem name This is correct. Look in that field for the string 'MSTR' This is what LLA, as of z/OS 1.9,looks at. If it is not started with SUB=MSTR, it terminates itself and then restarts itself having added SUB=MSTR to the start

Re: Detect if STC is running under sub=mstr

2009-05-21 Thread Edward Jaffe
Peter Relson wrote: As Rob Scott correctly points out, the information you seek is in the private area of the address space you wish to interrogate. That's why I suggested looking at the JSAB. Although the outcome of the test is not as authoritative as the SSIB, ISTR that for MSTR there is

Detect if STC is running under sub=mstr

2009-05-20 Thread Luc Martens (KBC)
Hi, Does someone has a clue on how to detect if a STC is running under SUB=MSTR via a REXX program (or assembler)? I would like to create a health-check via system/rexx to check if a list of STC's is running under SUB=MSTR as required. e.g. NETVIEW: is started under SUB=MSTR but is getting a

Detect if STC is running under sub=mstr

2009-05-20 Thread Luc Martens (KBC)
Hi, Does someone has a clue on how to detect if a STC is running under SUB=MSTR via a REXX program (or assembler)? I would like to create a health-check via system/rexx to check if a list of STC's is running under SUB=MSTR as required. e.g. NETVIEW: is started under SUB=MSTR but is getting a

Re: Detect if STC is running under sub=mstr

2009-05-20 Thread Gerhard Postpischil
Luc Martens (KBC) wrote: e.g. NETVIEW: is started under SUB=MSTR but is getting a jobid after JES2 is started. Checking if you have a jobid or not is not a good solution. For jobs running under a subsystem, I get the job step TCB, then TCBJSCB, then JSCBSSIB. Field SSIBSSNM has the

Re: Detect if STC is running under sub=mstr

2009-05-20 Thread Rob Scott
Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Gerhard Postpischil Sent: 20 May 2009 08:42 To: IBM-MAIN@bama.ua.edu Subject: Re: Detect if STC is running under sub=mstr Luc Martens (KBC) wrote: e.g. NETVIEW: is started under SUB=MSTR but is getting a jobid after JES2 is started

Re: Detect if STC is running under sub=mstr

2009-05-20 Thread Binyamin Dissen
On Wed, 20 May 2009 01:59:57 -0500 Luc Martens (KBC) luc.mart...@kbc.be wrote: :Hi, :Does someone has a clue on how to detect if a STC is running under :SUB=MSTR via a REXX program (or assembler)? Call SDSF to determine if JESJCL exists. :I would like to create a health-check via system/rexx

Re: Detect if STC is running under sub=mstr

2009-05-20 Thread Edward Jaffe
Luc Martens (KBC) wrote: Hi, Does someone has a clue on how to detect if a STC is running under SUB=MSTR via a REXX program (or assembler)? You'll probably be able to get the information you need by inspecting JSABSCID and/or JSABSSNM in the address space level JSAB. -- Edward E Jaffe