job_depends does not allow more than 1 switch when using CLI

book

Article ID: 224717

calendar_today

Updated On:

Products

CA Workload Automation iXP

Issue/Introduction

Command ixjob_depends does not allow more than 1 switches when using CLI.

From command line (non-CLI) it runs as expected as shown below:

job_depends -tes -J CED_D_ORR_PULL_RISK_UX  -F "09/10/2021 00:00" -T "09/11/2021 23:59" -c


______________________________________________________________________________

Job Name                         Status/Exec. Mode    Date Cond?           Start Cond?     Dep. Cond?
--------                         -----------------    ------------         -----------     ----------
CED_D_ORR_PULL_RISK_UX           SUCCESS              No                   No              Yes

   Dependent Job Name                            Condition
   ------------------                            ---------
   CED_D_ORR_TRUNC_STG_UX                        SUCCESS(CED_D_ORR_PULL_RISK_UX)

Using CLI (from UI CLI or CLI client)

Failed: ixjob_depends -tes -J CED_D_ORR_PULL_RISK_UX  -F "09/10/2021 00:00" -T "09/11/2021 23:59" -c:ixjob_depends: invalid parameters: only one of [-c,-d,-t] accepted

 

 

Environment

Release : 11.4

Component : CA WORKLOAD AUTOMATION AE IXP

Resolution

When -t switch is used, -F and -T need to be specified as well.  It also accept -e -s.

Job_depends does not reject mutually exclusive parameters (-c, -d, -r and -t) but only one of them is effective when multiple parameters are specified.

Command ixjob_depends only accepts one of the mutually exclusive parameters, -c, -d, -r, or -t and rejects other parameters.  This is working as documented.