Charles, In addition to the IAZXJSAB call - you will have to scan the SSCT chain to see if the returned subsystem name is JES2 or JES3. There is nothing to guarantee that the primary job entry subsystem is called "JES2" or "JES3".
However, field SSCTSSID accurately informs you if the subsystem is JES2 or JES3. Rob Scott Rocket Software http://www.rs.com/portfolio/mxi/ ---------------------------------------------------------------------- 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

