Handling Time Dependencies

If you require a time dependency, do not place the time consideration on the NVxx defined operation because the status change drives the TWS user exit EQQUX007, regardless of the timer status.

For a general workstation, such as those defined for TWS Automation, this occurs when all dependencies are fulfilled except the time consideration.

To avoid this problem, define a dummy, non-reporting workstation. Place the timer dependency on this dummy workstation. Define any dependencies on the dummy workstation, which is the predecessor to the NVxx workstation. Once you satisfy all other dependencies and complete the time dependency, the dummy timer workstation completes immediately and starts the operation on the NVnn workstation.

As an example, redefine the MAINT application shown in Figure 1, and Figures Figure 2 and Figure 3 on page Figure 3, with a timer dummy workstation (TIMR) as the first operation of the application. The panel in Figure 1 shows this new definition.
Figure 1. Using Time as a Dependency
 --------------------------------- OPERATIONS ----------------- Row 1 to 3 of 3 
 Command ===>                                                  Scroll ===> PAGE 
                                                                                
 Enter/Change data in the rows, and/or enter any of the following               
 row commands:                                                                  
 I(nn) - Insert, R(nn),RR(nn) - Repeat, D(nn),DD - Delete                       
 S - Select operation details, J - Edit JCL                                     
 Enter the PRED command above to include predecessors in this list, or,         
 enter the GRAPH command to view the list graphically.                          
                                                                                
 Application            : MAINT            RMF maintenance                      
                                                                                
 Row  Oper      Duration  Job name  Internal predecessors           Morepreds   
 cmd  ws   no.  HH.MM.SS                                            -IntExt-    
 '''' TIMR 005  00.01.00  ________  ___ ___ ___ ___ ___ ___ ___ ___   0  1      
 '''' DUMY 010  00.01.00  RMF_____  005 ___ ___ ___ ___ ___ ___ ___   0  0      
 '''' CPU1 015  00.10.00  RMFMAINT  010 ___ ___ ___ ___ ___ ___ ___   0  0      
 '''' DUMY 020  00.01.00  RMF_____  015 ___ ___ ___ ___ ___ ___ ___   0  0      
 ******************************* Bottom of data ********************************

With this type of structure, TWS Automation can schedule the NVxx operation, rather than the timer-dependent dummy workstation, if the application needs scheduling on demand or restarting. This manually initiated procedure is independent of the time consideration, if appropriate.