If you have not yet defined any scheduling environments, Figure 1 shows the first panel you will see.
IWMAPA7 Decide what to create?
Command ===> _______________________________________________________
No scheduling environments exist. Would you like to create a
scheduling environment or list resources for scheduling
environments?
Select one of the following options.
__ 1. Create Scheduling Environment
2. Create Resource(s)
From here you can either enter 1 to create a scheduling environment, or a 2 to create resources. (You might want to create all of your resources, for instance, before creating your first scheduling environment. This is covered in Creating a new resource directly from the main panel.)
Figure 2 shows the main Scheduling Environment Selection List panel. Assuming that you have at least one scheduling environment already created, this is the first panel you see when you work with scheduling environments.
Scheduling-Environments Notes Options Resources Help
------------------------------------------------------------------------
IWMAPAA Scheduling Environment Selection List Row 1 to 2 of 2
Command ===> ___________________________________________________________
Action Codes: 1=Create, 2=Copy, 3=Modify, 4=Browse, 5=Print, 6=Delete,
/=Menu Bar
Action Scheduling Environment Name Description
1_ IMSPRIME Prime IMS Processing
__ CICS_SPEC Special CICS Processing
By entering 1 on any Action line, you will go to the Create a Scheduling Environment panel, as shown in Figure 3. (You can also get there by putting the cursor under the Scheduling-Environment field at the top of the screen, and then entering 1 in the pop-up box.)
Scheduling-Environments Notes Options Help
-------------------------------------------------------------------------
IWMAPAD Create a Scheduling Environment Row 1 to 1 of 1
Command ===> ____________________________________________________________
Scheduling Environment Name DB2LATE_________ Required
Description . . . . . . . . . Offshift DB2 Processing_________
Action Codes: A=Add D=Delete
Required
Action Resource Name State Resource Description
a_ ________
Enter the scheduling environment name and description, and then enter A on the Action line to go to the next panel, Resource Definition List, as seen in Figure 4.
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
S_ DB2A DB2 Subsystem
__ IMS1 YES IMS Subsystem
S_ PRIMETIME YES Peak Business Hours
This panel shows all of the resource definitions in the service definition. The YES in the In Use field simply means that the resource name is currently a part of some scheduling environment. (It does not mean that it is in use by the scheduling environment you are defining when you get to this screen, in this case DB2LATE.)
You can select as many resources as you like. In this case, we'll select DB2A and PRIMETIME. Both have already been defined (although only PRIMETIME is currently being used by another scheduling environment). To make the resource name part of the scheduling environment, enter S on the Action line next to it. (Alternately, you can enter / 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 2 from the options in the pop-up box.)
If you have many resources, you can use the LOCATE primary command to scroll the display to a particular resource name.
This will take you back to the Create a Scheduling Environment panel, as shown in Figure 5.
Scheduling-Environments Notes Options Help
-------------------------------------------------------------------------
IWMAPAD Create 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
__ PRIMETIME OFF______ Peak Business Hours
The DB2A and PRIMETIME names and descriptions are automatically brought back to this panel. Now you must specify either ON or OFF under the Required State field. In this example, we have chosen ON for DB2A and OFF for PRIMETIME (meaning that the DB2A resource state must be set to ON and the PRIMETIME resource state must be set to OFF for this scheduling environment to be satisfied).