Yes, if you started JES with the following: s jes2test,sub=jes2
Charles Mills <charlesm To: IBM-MAIN@BAMA.UA.EDU @MCN.ORG> cc: Sent by: IBM Subject: Re: Simplest way for app to tell if JES2 or JES3 Mainframe environment? Discussion List <IBM-MAIN 02/07/2006 11:46 AM Please respond to IBM Mainframe Discussion List > 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 ---------------------------------------------------------------------- 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