Modifying a scheduling environment

Once a scheduling environment is created, you can modify it at any time, either changing the required states of resources, adding new resources to the scheduling environment, or deleting resources from the scheduling environment.

Now that DB2LATE has been created in the previous section, here's how we would modify it. From the main Scheduling Environment Selection List panel, enter a 3 in the Action line next to the scheduling environment you want to change, as shown in Figure 1. (Alternately, you can enter a / next to it, put your cursor under the Scheduling-Environments field at the top of the screen, and then select 3 from the pop-up box.)

If you have many scheduling environments, you can use the LOCATE primary command to scroll the display to a particular name.

Figure 1. Scheduling Environment Selection List panel
  Scheduling-Environments  Notes  Options  Resources  Help
------------------------------------------------------------------------
IWMAPAA           Scheduling Environment Selection List        Row 1 to 3 of 3
Command ===> ___________________________________________________________

Action Codes: 1=Create, 2=Copy, 3=Modify, 4=Browse, 5=Print, 6=Delete,
              /=Menu Bar

Action  Scheduling Environment Name       Description
  3_    DB2LATE                           Offshift DB2 Processing
  __    IMSPRIME                          Prime IMS Processing
  __    CICS_SPEC                         Special CICS Processing
 

This will take you to the Modify a Scheduling Environment panel. Here, you can add and delete resources, and change required states. In Figure 2, we could delete DB2A, and change the required state for PRIMETIME from OFF to ON. (To add new resources from this panel, see Creating a new resource while working with a scheduling environment.) When you press enter, you'll get a confirmation message, telling you to press EXIT to save your changes, or CANCEL to discard them.

Figure 2. Modify a Scheduling Environment panel
  Scheduling-Environments  Notes  Options  Help
-------------------------------------------------------------------------
IWMAPAJ              Modify a Scheduling Environment           Row 1 to 2 of 2
Command ===> ____________________________________________________________

Scheduling Environment Name    DB2LATE_________  Required
Description  . . . . . . . . . Offshift DB2 Processing_________

Action Codes: A=Add  D=Delete

                          Required
Action  Resource Name     State      Resource Description
  d_    DB2A              ON_______   DB2 Subsystem
  __    PRIMETIME         ON_______   Peak Business Hours
 

Important: When you delete a resource name from this panel, you are simply deleting it from the scheduling environment. The resource name will still exist on the Resource Definitions List panel. To delete the resource definition itself, see Deleting a resource.