I've got code -- and it works without problems -- that chains
ASCBASSB->ASSBJSAB and then loops through JSABs until it finds one with
JSABNVAL not set. I don't recall where I originally came up with the logic.
I note two things about the code: it allows for the possibility that
ASSBJSAB is zero, and for the possibility that it gets to the end of the
JSAB chain without finding a "valid" JSAB (which the application can
tolerate).

As I said, the code works. I am just trying to understand the situation a
little better. My questions are these:

- What are the reasons that an address space would not have a JSAB?
*MASTER*? Address spaces started under *MASTER* rather than by JESx?
- Is there a better source of job name and any userid than the JSAB? I see
that SDSF has a jobname for every A/S. I note the existence of ASCBJBNI/S
but don't know much about them.

Charles

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

Reply via email to