White Papers
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
76 
10.2.2  Delete Job Queue  
The DeleteJobQueue() method takes in a jobID and then deletes it from the job store.  
Note: When clearing all jobs and pending data using the keyword JID_CLEARALL, as shown in example 
2 below, the remote services instrumentation is restarted to clear the cache [LC 1.5.x ONLY]. Users 
should allow two minutes for this process to complete. 
Invoke DeleteJobQueue() with the following parameters and syntax: 
[JobID]:  The jobID of a particular job instance to be deleted from a jobqueue 
EXAMPLE 1: 
wsman invoke -a DeleteJobQueue http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_JobService 
?SystemCreationClassName=DCIM_ComputerSystem, 
CreationClassName=DCIM_JobService,SystemName=Idrac,Name=JobService  
-h $IPADDRESS -V -v -c dummy.cert -P 443 
-u $USERNAME -p $PASSWORD -k JobID="JobID"  
-j utf-8 -y basic 
The example below uses JID_CLEARALL for the jobID, which is a predefined value that represents 
“deleting all jobs in the jobstore”. 
EXAMPLE 2: 
wsman invoke -a DeleteJobQueue http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_JobService 
 ?SystemCreationClassName=DCIM_ComputerSystem, 
CreationClassName=DCIM_JobService,SystemName=Idrac,Name=JobService 
-h $IPADDRESS -V -v -c dummy.cert -P 443 
-u $USERNAME -p $PASSWORD -k JobID="JID_CLEARALL" 
-j utf-8 -y basic 
OUTPUT: 
Return 0 for success or non-zero for error with messageID and message description. 
<n1:DeleteJobQueue_OUTPUT> 
 <n1:Message>The specified job was deleted</n1:Message> 
 <n1:MessageID>SUP020</n1:MessageID> 
 <n1:ReturnValue>0</n1:ReturnValue> 
</n1:DeleteJobQueue_OUTPUT> 
An XML syntax error could yield the following message: 
Syntax Error: input must be of the form 










