ESP dSeries Workload Automation

 Trying to create an alert (execcommand) and want to insert non selected jobs (predefined job)

Sharon Shimanek's profile image
Sharon Shimanek posted 10-12-2021 08:52 AM
Trying to create an alert to run execcommand and want to insert of a predefined job.  In the doc it seems the command of insert wants to insert job and I have to give all the info about the job.  Can I insert non selected jobs (predefined jobs), if so what is the command?

we are running ESP dSeries 12.3 and the 12.3 desktop client.

Nitin Pande's profile image
Broadcom Employee Nitin Pande
Hi Sharon,
Here is a doc link for non-selected job that you can insert in the Active job.
The other is the INSERTJOB CLI command.  It will allow you to insert a job in an active application.  However, it does require all the job parameters like command. args and user.  Only UNIX and Windows jobs are supported with INSERTJOB.

Nitin Pande
Kunduri Kiran's profile image
Broadcom Employee Kunduri Kiran

Can you please try the below syntax

execCommand( 'all', APPL._name + "." + APPL._gen, "ACTION INSERTNONSELECTEDJOBS JobList\(\"WINDOWS0\"\) DefinedApplName\(\"INSERT\"\)" );
execCommand( 'all', APPL._name + "." + APPL._gen, "ACTION INSERTNONSELECTEDJOBS JobList\(\"TASK0\"\) DefinedApplName\(\"INSERT\"\)" );

Here application name is INSERT and jobs to insert are WINDOWS0 and TASK0.

-Ravi Kiran