The following example illustrates how to set up the UCC7WLP data file using the online FWLP command, how to create the appropriate WLP1 control statement, and some typical JCL.
An end-of-month application (EOM) has been creating problems. It is usually run late, creating more problems with the downline schedule. This application has predecessors from other applications as well as inside the application. Also, EOM is the predecessor for the general ledger (GL) application.
The EOM is on the schedule as starting and finishing at certain times. Closing for February business seems to be especially problematic; therefore, the February time frame is specified on the FWLP command (FROM and TO). TRIG=J is specified because EOM has predecessors and successors. At least one workload balancing picture comes into play (RESA) and there is a predefined ddname to be used for the data file.
The command that accomplishes this is as follows:
FWLP,FROM=(0301,1801),TO=(0302,0101),TRIG=J,RESA=UCC7REOM, DDNAME=PROJDATA,JOB=EOM*
FROM and TO specify the time slice to be used for the simulation. It is also the time at which EOM is supposed to start and finish.
TRIG specifies that job-triggered jobs are to be considered. This is because EOM has predecessors and is itself a predecessor.
The MAINID parameter has been omitted from the FWLP statement so the default for MAINID is in effect. The default is ALL. ALL CPUs are considered. The CPU in which the jobs run is not a selection criterion for the projection.
RESA specifies a module name that contains a WLB resource picture. If the RESA parameter was not specified, it would default to the resource picture currently in effect. If the RESA parameter is specified, the system uses a resource picture different from the one normally in effect. Anytime the resource picture changes during the time slice indicated with FROM and TO, FWLP generates a new RES data statement. During the time slice, the resources may shift. All these different resource pictures are reflected in the simulation.
DDNAME indicates the data file created by the FWLP command is to be saved. This is done by directing it to a specific ddname so that the file can be kept as a unique data set. If a predefined ddname is not specified, the system executes the projection but does not save the data.
The DEMAND parameter has been omitted, which means the default for DEMAND is in effect. The time slice specified is straight production time; therefore, on-request jobs are not allowed. DEMAND defaults to zero percentage.
The JOB parameter shows that all jobs starting with the letters EOM are to be used in the simulation. Specific job names could have been specified, but this captures all of them.
The SYS parameter has been omitted, which means the default for SYS is in effect. The default considers all systems. Any job starting with the letters EOM, regardless of what system it is in, is used in the projection. Therefore, no system restrictions are applied to finding and projecting the EOM jobs.
The TYPE parameter has been omitted, which means the default of ACTUAL is in effect. Also, this means that the projection honors the "don't schedule before/after" criteria for each job selected for simulation.
When the online FWLP command has completed, the data statement data set is created. This data set includes the needed RES and JOB statements. These statements can be changed if wanted. For this example, the data statements stand as FWLP created them.
The next item in the example is the WLP1 statement. This statement has to be coded before the batch run is executed because it is part of the run.
WLP1,SCNINCR=2,SCNSPAN=4,RERUN=ABS,RRTHRSH=5
The TP1 and TP2 parameters are omitted so their defaults are in effect. This means that the tape drives available for these jobs neither increase nor decrease. The values on the RES data statements created by the online FWLP command stand.
The CPUS parameter is omitted, which means that the default is in effect. This parameter actually refers to the number of initiators that are to be used in the simulation. The system multiplies the number of initiators and CPU capacity by the number in the CPUS parameter.
SCNSPAN specifies the number of hours early that any job can be scheduled during projection runs. The value here should be the same as in production CA WA CA 7 Edition. Here, 4 hours early was specified.
SCNINCR specifies a value corresponding to CA WA CA 7 Edition schedule scan wakeup intervals as defined in the initialization file. Here 2 hours was specified. If omitted, jobs are brought into the WLP simulated queues continuously.
ABS for RERUN means that the elapsed times for the rerun jobs used in the simulation are increased. The amount of the increase is equal to the spoilage percentage whenever the spoilage percentage is greater than the threshold value.
RRTHRSH is set for 5 percent, meaning that rerun frequency must be greater than 5 percent before the rerun spoilage value is applied to these jobs.
RRSPOIL is omitted, meaning that the default is in effect. The default is 30 percent. The 30 percent applies to the increase in elapsed time for each job's run. Spoilage is based on reruns.
The LPP parameter is omitted meaning that the default is in effect. LPP is the number of lines printed per page on each report. The default is 60 lines.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|