Removing a corrupted Flow from the CPM checkpoint
search cancel

Removing a corrupted Flow from the CPM checkpoint

book

Article ID: 25547

calendar_today

Updated On:

Products

Jobtrac

Issue/Introduction

When logged on to CPM the flowname shows 'NO PATH" .   How can a corrupted flow be removed from the CPM checkpoint? 

 

Environment

Jobtrac 11.0

CPM

Cause

 CPM cannot find any string of jobs connecting the first job to the last job--(job relationship is missing)

Resolution

To remove the invalid 'NO PATH from the CPM checkpoint, the flowname will have to be cancelled.   The command to cancel a flow is CPM CANCEL flowname.  See the SCL examples below for a successful path for a flowname and a path for a flowname that results in 'NO PATH'

The following SCL coding example will result in a successful Path for  Flowname CPMTST:
 
* EVNTNM TIME DATE DEPS  RELEASE1RELEASE2RELEASE3RELEASE4 PROCESSP
*      *    *    *     *       *       *       *        *        
@FLOW01=CPMTST                                                    
CPMFLO1A ASAP *          CPMFLO1B                         DAILY  
CPMFLO1A                FLOWSTART=CPMTST                  DAILY  
CPMFLO1B ASAP *                                           DAILY  
+                       +CPMFLO1C                         DAILY  
CPMFLO1C ASAP *                                           DAILY  
CPMFLO1C                FLOWEND=CPMTST/1600/              DAILY  
@FLOW01=
 
The flowname CPMTST has the first event as POOSH01A
             successor of CPMFLO1A is CPMFLO1B
             successor of CPMFLO1B is CPMFLO1C 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                                                    
CPMFLO1A ASAP *          CPMFLO1B                         DAILY  
CPMFLO1A                FLOWSTART=CPMTST                  DAILY  
CPMFLO1C ASAP *                                           DAILY  
CPMFLOC                 FLOWEND=CPMTST/1600/              DAILY  
@FLOW01=  
 
*Note missing event CPMFLO1B.  
 
In the example above, to remove the invalid 'NO PATH from the CPM checkpoint, cancel 'CPMTST' flowname by issuing command '
CPM CANCEL CPMTST'