White Papers
Dellâ„¢ Lifecycle Controller 2 Web Services Interface Guide for Linux  Version: 2.1.0 
77 
{KEY="VALUE"[;KEY="VALUE"]} 
10.2.3  List Jobs in Job Store 
The instances of this class will enumerate jobs in the job store along with status information.  
Invoke enumerate job status with the following parameters and syntax: 
[JobID]: The JobID of a particular job instance to be queried 
To get the status of one particular job, use the following: 
EXAMPLE 1: 
wsman get http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/root/dcim/DCIM_LifecycleJob 
 ?InstanceID=JobID -h $IPADDRESS -V -v -c dummy.cert -P 443 
 -u $USERNAME -p $PASSWORD -j utf-8 -y basic 
To get the status of all jobs, use the following: 
EXAMPLE 2: 
wsman enumerate http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_LifecycleJob 
-h $IPADDRESS -V -v -c dummy.cert -P 443 
-u $USERNAME -p $PASSWORD 
-j utf-8 -y basic 
OUTPUT 1 & 2: 
The method either returns a list of Concrete job objects or an error message. Once job instanceID 
are returned via these status queries, they can be used for job scheduling and setup. Several examples 
of job objects are shown below. 
<n1:DCIM_LifecycleJob> 
 <n1:InstanceID>JID_001299159055</n1:InstanceID> 
 <n1:JobStartTime/> 
 <n1:JobStatus>Completed</n1:JobStatus> 
 <n1:JobUntilTime/> 
 <n1:Message>Initialize media successful</n1:Message> 
 <n1:MessageArguments xsi:nil="true"/> 
 <n1:MessageID>VF048</n1:MessageID> 
 <n1:Name>VFlashInitialize:Media</n1:Name> 
</n1:DCIM_LifecycleJob> 
<n1:DCIM_LifecycleJob> 
 <n1:InstanceID>RID_001299247671</n1:InstanceID> 
 <n1:JobStartTime>00000101000000</n1:JobStartTime> 
 <n1:JobStatus>Reboot Completed</n1:JobStatus> 
 <n1:JobUntilTime>20111111111111</n1:JobUntilTime> 
 <n1:Message/> 










