> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Charles Mills
> Sent: Tuesday, February 07, 2006 11:46 AM
> To: [email protected]
> Subject: Re: Simplest way for app to tell if JES2 or JES3 environment?
> 
> 
> > IAZXJSAB macro, with the COMPID parameter will tell you that.
> 
> Okay, totally dumb follow-up question. COMPID= is documented 
> as Specifies
> the location where the system is to return the 4-character name of the
> subsystem that created the JSAB.
> 
> Question: is the "name" of JES2 or JES3 always "JES2" or 
> "JES3"? If a shop
> renamed their startup PROC JES2TEST or JES3V1R7 would COMPID= 
> still return
> "JES2" or "JES3"?
> 
> Charles

No, the name of JES2 is not always "JES2". I've run what was (is?)
called PolyJES where I have multiple, separate JES2 subsystems running
on a single MVS image, each called something different. Rember that a
subsystem can be a max of 4 characters, so JES2TEST is not possible. I
have run with JESA, however. If you're a pervert, you could run JES2 and
call it "JES3" <grin>.

Perhaps you could tell us why you want to know? For instance something
like: "I know that if I'm running JES3, then I can do ... and it will
work." Where "..." is something that is JES3 only such as DJC (Dependant
Job Control). 

The field SSCTSSID will tell if this is JES2, JES3, or "other" (what
other?). I think you must "chain chase" to find this control block. I
haven't tried, but the book "z/OS: MVS Using the Subsystem Interface"
indicates that you can use an SSI call of "15" to obtain the address of
the SSCVT that corresponds to a specific subsystem. If there is an
easier way, hopefully somebody will speak up.

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to