Hold/List applications from CLI in dSeries (WA DE)
search cancel

Hold/List applications from CLI in dSeries (WA DE)

book

Article ID: 243541

calendar_today

Updated On:

Products

CA Workload Automation DE

Issue/Introduction

Is it possible to use CLI to list  and hold active applications?

Environment

Release : 12.x

Component : Workload Automation DE (ESP dSeries)

Resolution

To list all the active applications, use this:

LISTAPPLICATION APPLICATION("*") state("active")

For holding an application in CLI, insert a TASK job.  TASK by default won't complete on their own, they need to be completed by a user.  

Here is an example that will insert a TASK job in an active application, if application is not active, the command will be ignored.

INSERTJOB JOBNAME("myTASK1") APPLICATION("MY_APPLICATION.1") JOBTYPE("TASK") jobparameters(" Tag(\"JOB TO HOLD THE APPLIATION\")")

Note: The insert will only affect current generation or generation defined in the command.  The generation defined must be active