Similar purpose, but different mechanisms. SYSTEM, SYSAFF, and SCHENV all control the system that a job is allowed to run on, but they filter based on different mechanisms. SYSTEM and SYSAFF are based off of the JES2/JES3 member name. SCHENV is based off of your WLM setup; in WLM, you can define scheduling environments, which are essentially arbitrary resources that can be associated with a system image via SDSF or system commands.
So with SYSTEM/SYSAFF, you're saying "this job can only run on a system called X." With SCHENV, you're saying that "this job can only run if the system has resources A, B, and C," when A, B, and C are all things that the installation can control whether or not they're defined at any given time. So with scheduling environments, you can have some very basic job scheduling, if you want to. As an example, we typically run our sysplexes with a mix of z/OS release levels (say, V2R1, V2R2, and V2R3). Some of our jobs will only run on a system with release level V2R2 or above. So I can create a scheduling environment called SCHV2R2, and only enable it on systems that are running V2R2 or V2R3. And jobs with SCHENV=SCHV2R2 will be limited to running on those systems. Or you could control it based on the presence of a subsystem, or whether or not the system is DEVTEST, or whatever arbitrary reasons you want to schedule based on. --- Kevin McKenzie External Phone: 845-435-8282, Tie-line: 8-295-8282 z/OS Test Services - Test Architect, Provisioning IBM Mainframe Discussion List <[email protected]> wrote on 01/26/2019 10:52:49 PM: > From: Peter <[email protected]> > To: [email protected] > Date: 01/26/2019 10:53 PM > Subject: SYSAFF and SCHENV > Sent by: IBM Mainframe Discussion List <[email protected]> > > Hi > > It is just general question > > I was going through the manual. > > Does SCHENV perform the same function as SYSAFF ? Or it does more than that > ? > > Peter > > ---------------------------------------------------------------------- > 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
