Normally an address space started SUB=MSTR (typically before JES is started) 
does not have the ability to use JES services such as SYSOUT datasets.

There will be no "JCT" control block in JES to represent the address space- 
hence the "No JCT" SDSF message.

However, an address space started this way *can* request access to JES services 
using the "Request JobID" SSI call 20 - typically the requesting address space 
waits on ENF signal code 40 to indicate that JES is available.

Once an address space has requested a Jobid from JES - it can start using 
SYSOUT style allocations in exactly the same way as a "normal" batch job or 
started task under JES.

Most of the spool related information shown in SDSF these days comes from the 
JES SSI calls 80, 82 and 83 (Extended Status, JES Properties and JES Device), 
including the stepname for job output (field STVSSTPD from the STATSEVB control 
block).

The fact that STVSSTPD seems to be populated with "random" data for SUB=MSTR 
address spaces is probably worth raising an ETR about with the JES people - 
however it will probably be FIN.   

Rob Scott
Lead Developer
Rocket Software
77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
Tel: +1.781.684.2305
Email: [email protected]
Web: www.rocketsoftware.com


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of John McKown
Sent: 25 June 2014 15:46
To: [email protected]
Subject: Re: curious: display *MASTER* in SDSF

On Wed, Jun 25, 2014 at 9:24 AM, Mark Zelden <[email protected]> wrote:

>
> I noticed this many years ago.  The step name comes from the last STC 
> started with SUB=MSTR.
>
> Mark
> --
> Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS
>
>
Now, that is interesting. I'm going to try something ...time passes... I have 
personally verified your assertion! On my sandbox, *MASTER* showed a STEP name 
of JES2. I created an IEFBR14 proc and did a S IEFBR14,SUB=MSTR.
I then did a W L to spin off the SYSLOG. *MASTER* now shows two entries for the 
? command display. One with the STEP name of JES2, and a new one with a STEP 
name of IEFBR14. Which, of course, leads to the next question: Why does it do 
that? Yes, we're getting into the undocumented internals. But I am still 
curious. I guess *MASTER* is using some sort of dynamic allocation interface to 
JES2. I don't see an SSI type call. But SVC 99 must have something "under the 
covers" to talk to JES to allocate a new SYSOUT data set.



--
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to