hi, i ran consistencychecker job and under workflow header there are over 150 "Warning CC-0046"s.it is shortly like that:a workflow object references to an nonexistent package.as a solution emc says:set component_id and chronicle_id of the package to 16 zeros and destroy package.but then it gives an example, in that example they do not destroy the package, they set componentid and chronicle id of the package to 16 zeros.this is ok because this is what they say.but after this, the example saves the package.this is inconsistent.shall i destroy the package or save?emc's solution is below:
--- QUERY---: select ws.r_object_id as p1, pr.r_component_id as p2 from dm_workflow_s ws, dm_workflow_r wr, dmi_package_s ps, dmi_package_r pr where ws.r_object_id = wr.r_object_id AND wr.r_act_state != 2 AND pr.r_component_id > '0000000000000000' AND ws.r_runtime_state IN (1,3) AND ws.r_object_id = ps.r_workflow_id AND wr.r_act_seqno = ps.r_act_seqno AND ps.r_object_id = pr.r_object_id AND not exists (select a.r_object_id from dm_sysobject_s a where a.r_object_id = pr.r_component_id)
WARNING CC-0046: dm_workflow object with r_object_id '4d006e7880002501' references non-existent sysobject with r_component_id '09006e788000dffd'
WARNING CC-0046: dm_workflow object with r_object_id '4d006e7880000d09' references non-existent sysobject with r_component_id '09006e7880006e60'
Problem:
The r_component_id of the dmi_package and is making reference to a workflow instance doesn't exist anymore
Steps:
- Set the r_component_id and r_component_chron_id (Chronicle ID of the object identified at the corresponding index position in r_component_id.) to 16 zeros and destroy it.
- Or set r_component_id to a existing package with his chronicle_id in r_component_chron_id
API> retrieve,c,dmi_package where r_workflow_id='4d006e7880002501'
...
4d0a636280000900
API> set,c,490a636280000900,r_component_id
Set >0000000000000000
...
Ok
API> set,c,490a636280000900,r_component_chron_id
Set >0000000000000000
...
Ok
API> save,c,490a636280000900
...
Ok
OR
API> set,c,490a636280000900,r_component_id
Set >090a636280004c85
...
Ok
API> set,c,490a636280000900,r_component_chron_id
Set >090a636280004655
...
Ok
API> save,c,490a636280000900
...
Ok