Changing and adding dependencies

When you add an occurrence, you can make the operations dependent on operations in the plan, even though these dependencies are not defined in the database.

On the ADDING AN APPLICATION TO THE CURRENT PLAN panel, shown in EQQMAOCP - Adding an application to the current plan, enter the OPER command, and the panel in EQQMMOPL - Modifying Operations in the Current Plan panel displays, in which you select the operation.

Figure 1. EQQMMOPL - Modifying Operations in the Current Plan panel
EQQMMOPL --------- MODIFYING OPERATIONS IN THE CURRENT PLAN -  ROW 1 TO 1 OF 1
Command ===>                                                  Scroll ===> PAGE

Enter the GRAPH command above to view operations graphically or
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
J - Edit JCL, O - Browse operator instructions, S - Modify operation details
L - Browse joblog, LJ - Browse joblog via ITOM

Application           : PAYQUERY         AD-HOC payroll query
Owner                 : SAMPLE           payroll application
Input arrival         : 03/07/28  14.11
Status                : Being added

                                                                               
Row Operation                         Jobname  PS Duration Opt Dep Res     Stat
cmd ws   no. text                                 HH.MM.SS S T S/P S R1 R2 N Cu
''  CPU1 050 run as required_________ PAYQUERY  1 00.05.00 Y N     Y  0  0   A
******************************* BOTTOM OF DATA ********************************
Note: If you are using the advanced panels, you can also open the panel by selecting Modify in the Occurrence menu of the OPERATION IN THE CURRENT PLAN panel (for more information, see Occurrence).

Select the operation. The panel in EQQMMODP - Modifying an Operation in the Current Plan panel appears.

Figure 2. EQQMMODP - Modifying an Operation in the Current Plan panel
EQQMMODP -------- MODIFYING AN OPERATION IN THE CURRENT PLAN ------------
Option ===>

Select one of the following:

 1 DEPENDENCIES        - Delete and add (internal and external)
 2 SPEC RESOURCES      - Special resources
 3 AUTOMATIC OPTIONS   - Job, WTO, and print options
 4 TIME                - Time specifications
 5 JCL                 - Edit JCL for MVS job
 6 GENERAL             - General information
 7 CLEANUP OPTIONS     - Cleanup Options     
 8 EXTENDED INFO       - Extended Information
 9 AUTOMATION INFO     - Automation info
10 USER FIELDS         - User fields operation info
11 REMOTE JOB INFO     - Remote job information
                                             
Application           : PAYQUERY         AD-HOC payroll query
Operation             : CPU1 050         run as required
Jobname               : ROXINO
Input arrival         : 03/07/28  14.11
Duration(HH.MM.SS)    : 0005.00
External predecessors : No       Conditional predecessors : No
External successors   : No       Conditional successors   : No
Special resources     : Yes      Number of conditions     : 0
Note: If you are using the advanced panels, you can display the MODIFYING OPERATION IN THE CURRENT PLAN by either:
In panel EQQMMODP, select option 1 (DEPENDENCIES). The panel shown in EQQMMDPL - Modifying dependencies in the current plan is displayed.
Figure 3. EQQMMDPL - Modifying dependencies in the current plan
EQQMMDPL -------- MODIFYING DEPENDENCIES IN THE CURRENT PLAN - Row 1 to 1 of 1 
Command ===>                                                  Scroll ===> PAGE 
                                                                               
Enter any of the following command above:                                      
 COND - handle conditional dependencies   CREATE - create a new dependency     
enter the row command D to delete a dependency:                                
                                                                               
Application     : PAYQUERY                                                     
Input arrival   : 09/06/21  08.14                                              
Operation       : CPU1 050                                                     
Overall Conditions Status :                                                    
                                                                               
CHECK DEPENDENCIES  ===> Y   Y - When leaving panel (only not conditional ones)
                             N - At occurrence update (all dependencies)       
                                                                               
Row Trans Application id   Input Arrival  Operation                    S D  Con
cmd time  (ext deps only)  date     time  ws   no. text                     ID 
 '  00.01 APPLZ                           CPU1 001                     A P  000
To create non-conditional dependencies, enter the CREATE command. The panel shown in EQQMMADP - Creating a dependency in the current plan is displayed.
Figure 4. EQQMMADP - Creating a dependency in the current plan
EQQMMADP --------- CREATING A DEPENDENCY IN THE CURRENT PLAN ------------
Command ===>

Specify the identity of an operation or occurrence below and press ENTER 
to create it as a dependency, or, if the operation or occurrence is not 
uniquely defined, to show a list of operations.

Application           : PAYQUERY         AD-HOC payroll query
Input arrival         : 09/06/21  08.14
Operation             : CPU1 050         run as required

DEPENDENCY TYPE    ===> P           P - Predecessor, S - Successor
DEPENDENCY         ===> _           O - Operation, A - Appl occurrence 

Dependency            :             Identity of dependency
 APPLICATION ID    ===> P*______________
                                    Blank means internal dependency
 INPUT DATE        ===> ________    Date in format YY/MM/DD
       TIME        ===> _____       Time in format HH.MM
 WORK STATION      ===> ____
 OPERATION NUMBER  ===> ___
 JOBNAME           ===> ________

You can specify the details of the predecessor or successor in the CREATING A DEPENDENCY IN THE CURRENT PLAN panel, but it is easier to use a generic search character in the ID (P* in EQQMMADP - Creating a dependency in the current plan) and press Enter.

The DEFINING DEPENDENCIES IN THE CURRENT PLAN, shown in EQQMMDLL - Defining dependencies in the current plan, is displayed.

Figure 5. EQQMMDLL - Defining dependencies in the current plan
EQQMMDLL --------- DEFINING DEPENDENCIES IN THE CURRENT PLA  ROW 1 TO 13 OF 27
Command ===>                                                  Scroll ===> PAGE

Enter P or S below to define the type (T). Blank will delete the dependency.

Application            : PAYQUERY         AD-HOC payroll query
Input arrival          : 03/06/21  08.14
Operation              : CPU1 050         run as required

T Application id   Input arrival  Jobname  Operation                         S
                   date     time           ws   no. text
_ PAYBACKP         09/06/15 12.00 PAYBACKP CPU1 015 Daily payroll backup     C
_ PAYBACKP         09/06/15 12.00 PAYBACKP WTO1 030 PAYX OPEN DATASET        C
_ PAYBACKP         09/06/17 12.00 PAYBACKP CPU1 015 Daily payroll backup     C
_ PAYBACKP         09/06/17 12.00 PAYBACKP WTO1 030 PAYX OPEN DATASET        C
_ PAYBACKP         09/06/20 12.00 PAYBACKP CPU1 015 Daily payroll backup     C
_ PAYBACKP         09/06/20 12.00 PAYBACKP WTO1 030 PAYX OPEN DATASET        C
_ PAYBACKP         09/06/21 12.00 PAYBACKP CPU1 015 Daily payroll backup     W
_ PAYBACKP         09/06/21 12.00 PAYBACKP WTO1 030 PAYX OPEN DATASET        W
_ PAYDAILY         09/06/17 12.00 PAYDAILY WTO1 005 PAYX CLOSE DATASET       C
_ PAYDAILY         09/06/17 12.00 PAYDAILY SETP 010 Job setup for paydaily   C
_ PAYDAILY         09/06/17 12.00 PAYDAILY CPU1 020 Runs pay04 and pay06     C
_ PAYDAILY         09/06/20 12.00 PAYDAILY WTO1 005 PAYX CLOSE DATASET       C
_ PAYDAILY         09/06/20 12.00 PAYDAILY SETP 010 Job setup for paydaily   C
A wildcard search such as the one in EQQMMADP - Creating a dependency in the current plan is useful when you have several operations with the same name. Use the following row commands to specify the dependencies:
P
Makes the operation in the row a predecessor of the operation that you are adding.
S
Makes the operation in the row a successor of the operation that you are adding.
blank
Removes the dependency between the operation in the row and the one that you are adding.
Note: Changes that result in a conflicting status (such as specifying that an operation is a predecessor of a completed operation) are rejected.