job_depends does not allow more than 1 switch when using CLI
search cancel

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 testjob-123  -F "09/10/2021 00:00" -T "09/11/2021 23:59" -c


______________________________________________________________________________

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

   Dependent Job Name                            Condition
   ------------------                            ---------
   dependent-job123                        SUCCESS(testjob-123)

Using CLI (from UI CLI or CLI client)

Failed: ixjob_depends -tes -J testjob-123  -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.