Creating a new resource while working with a scheduling environment

While you are in the middle of creating or modifying a scheduling environment, you can take this shortcut method to create new resources. In this case where you wanted to create the new VECTOR resource and add it to DB2LATE, this method would be the logical choice.

From either the Create a Scheduling Environment panel or the Modify a Scheduling Environment panel (they look very similar), enter an A on any Action line, as shown in Figure 1.

Figure 1. 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
  __    DB2A              ON______   DB2 Subsystem
  a_    PRIMETIME         OFF_____   Peak Business Hours
 

This would take you to the Resource Definition List panel, where you can enter an A on any Action line, as shown in Figure 2. (Alternately, you can enter a / next to the resource names and then put the cursor under the Resources field at the top of the screen and press Enter. Then select 1 from the options in the pop-up box.)

Figure 2. Resource Definition List panel
  Resources  Notes  Options  XREF  Help
------------------------------------------------------------------------
IWMAPAS                  Resource Definition List              Row 1 to 4 of 4
Command ===> ___________________________________________________________

Selection For Scheduling Environment DB2LATE

Action Codes: A=Add  S=Select  X=XREF  /=Menu Bar

Action  Resource Name     In Use  Resource Description
  __    CICS001           YES     CICS Subsystem
  __    DB2A              YES     DB2 Subsystem
  __    IMS1              YES     IMS Subsystem
  a_    PRIMETIME         YES     Peak Business Hours
 

As in the method described in Creating a new resource directly from the main panel, from here you'll go to the Define Resource panel (as was shown in Figure 3) to enter the new resource name and description.

When you come back to the Resource Definition List panel, you can now select the new VECTOR resource to be part of the DB2LATE scheduling environment, as shown in Figure 3.

Figure 3. Resource Definition List panel
  Resources  Notes  Options  XREF  Help
------------------------------------------------------------------------
IWMAPAS                  Resource Definition List              Row 1 to 5 of 5
Command ===> ___________________________________________________________

Selection For Scheduling Environment DB2LATE

Action Codes: A=Add  S=Select  X=XREF  /=Menu Bar

Action  Resource Name     In Use  Resource Description
  __    CICS001           YES     CICS Subsystem
  __    DB2A              YES     DB2 Subsystem
  __    IMS1              YES     IMS Subsystem
  __    PRIMETIME         YES     Peak Business Hours
  s_    VECTOR                    Vector Processor
 

Having done that and exiting, you come back to the Modify a Scheduling Environment panel, as shown in Figure 4.

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

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

Action Codes: A=Add  D=Delete

                          Required
Action  Resource Name     State      Resource Description
  __    DB2A              ON______   DB2 Subsystem
  __    PRIMETIME         OFF_____   Peak Business Hours
  __    VECTOR            ON______   Vector Processor
 

Now the VECTOR resource name is part of the DB2LATE scheduling environment. As always, you need to specify either ON or OFF under the Required State. In this case, we chose ON.