How to remove a corrupted Flow from your CPM checkpoint

Document ID : KB000025547
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

How to remove a corrupted Flow from your CPM checkpoint?   

Answer: 

 

There are times you will see "NO PATH" for a flowname while logged on to CPM.  The "NO PATH" is telling you CPM 
cannot find any string of jobs connecting the first job to the last job--(job relationship is missing). Below is a
SAMPLE of a correct and incorrect coding of a SCL.

 

The following SCL coding example will result in a successful Path for your Flowname CPMTST:
 
* EVNTNM TIME DATE DEPS  RELEASE1RELEASE2RELEASE3RELEASE4 PROCESSP
*      *    *    *     *       *       *       *        *         
@FLOW01=CPMTST                                                    
POOSH01A ASAP *          POOSH01B                         DAILY   
POOSH01A                FLOWSTART=CPMTST                  DAILY   
POOSH01B ASAP *                                           DAILY   
+                       +POOSH01C                         DAILY   
POOSH01C ASAP *                                           DAILY   
POOSH01C                FLOWEND=CPMTST/1600/              DAILY   
@FLOW01=
 
The flowname CPMTST has the first event as POOSH01A
             successor of POOSH01A is POOSH01B
             successor of POOSH01B is POOSH01C and final event of flowname  CPMTST 
 
 
The following SCL coding example will result in the status of  "NO PATH":
 
* EVNTNM TIME DATE DEPS  RELEASE1RELEASE2RELEASE3RELEASE4 PROCESSP
*      *    *    *     *       *       *       *        *         
@FLOW01=CPMTST                                                    
POOSH01A ASAP *          POOSH01B                         DAILY   
POOSH01A                FLOWSTART=CPMTST                  DAILY   
POOSH01C ASAP *                                           DAILY   
POOSH01C                FLOWEND=CPMTST/1600/              DAILY   
@FLOW01=  
 
*note missing event POOSH01B.  
 
To remove the invalid 'NO PATH from the CPM checkpoint, you will need to cancel 'CPMTST' flowname.
The following command can be used to cancel the flowname.

CPM CANCEL CPMTST
*note all CPM commands begin with CPM.

Information on using CPM commands can be found in the 'CA Critical Path Monitor User's Guide'.

As always, please contact CA Technologies support for the CA Jobtrac Job Management if you have further questions.