search cancel

DUAS: Create a Dependency on a specific MU (Command Line)

book

Article ID: 189081

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

There is a way to create a Dependency on a specific MU using the command line.

This needs to be done following 2 steps :
- In our case, the local Uproc already has 3 dependencies (01, 02, 03)
- To add another one :
uxupd UPR UPR=<UPROC NAME> DEPCON add CONDNO=04 DEP=<TARGET UPROC> PDATE=SAME DTYPE=A MU="MU(<TARGET MU>)" SESS=ANY USER=ANY ALL EXPECT NOFATAL
- Then the associated Formula needs to be created :
uxupd upr exp upr=U_FDW_MUM_COR_LOAD_PJL_MAN vupr=000 formula lform=\"=C01 AND =C02 AND =C03 AND =C04\"

Cause

It is mandatory to :
- Always create the associated Formula after adding a Dependency. If you don't do so, then the Dependency won't work and won't be visible in the console at all
- Always put all the existing Formulas (01, 02, 03, ...) in the command line, else they will be removed

Environment

Release : 6.9

Component : DOLLAR UNIVERSE

Resolution

There is a "Tip" in Dollar Universe to know which command needs to be run.

When using the command "uxshw upr UPR=<MY UPROC>", you can add "cmd" at the end.

 

It will then display every commands that can be used to create the whole Uproc.

You may then update those commands to add what you are looking for.

Additional Information