Previous Topic

Next Topic

Book Contents

Book Index

Control and quantitative resources example

The following example describes a successful job creation request that creates a single job requiring Control and Quantitative resources.

<?xml version="1.0" encoding="iso-8859-1"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<ctmem:request_create_aj xmlns:ctmem="http://www.bmc.com/ctmem/schema800">

<ctmem:user_token>$USER_TOKEN$</ctmem:user_token>

<ctmem:control_m>ctm3-omega</ctmem:control_m>

<ctmem:active_job>

<ctmem:job_name>Rsc0</ctmem:job_name>

<ctmem:mem_name>Rsc0</ctmem:mem_name>

<ctmem:task_type>dummy</ctmem:task_type>

<ctmem:application>Resource</ctmem:application>

<ctmem:sub_application>Resource</ctmem:sub_application>

<ctmem:max_wait>0</ctmem:max_wait>

<ctmem:description>Job requiring resources.</ctmem:description>

<ctmem:cyclic>no</ctmem:cyclic>

<ctmem:confirm_flag>yes</ctmem:confirm_flag>

<ctmem:sys_db>no</ctmem:sys_db>

<ctmem:arch_max_days>0</ctmem:arch_max_days>

<ctmem:arch_max_runs>0</ctmem:arch_max_runs>

<ctmem:override_path>asds</ctmem:override_path>

<ctmem:count_cyclic_from>end</ctmem:count_cyclic_from>

<ctmem:control_resources>

<ctmem:control_resource>

<ctmem:resource>Disks</ctmem:resource>

<ctmem:type>shared</ctmem:type>

</ctmem:control_resource>

<ctmem:control_resource>

<ctmem:resource>Time</ctmem:resource>

<ctmem:type>shared</ctmem:type>

</ctmem:control_resource>

<ctmem:control_resource>

<ctmem:resource>JJ4</ctmem:resource>

<ctmem:type>shared</ctmem:type>

</ctmem:control_resource>

<ctmem:control_resource>

<ctmem:resource>DE1a34</ctmem:resource>

<ctmem:type>exclusive</ctmem:type>

</ctmem:control_resource>

<ctmem:control_resource>

<ctmem:resource>CPU</ctmem:resource>

<ctmem:type>shared</ctmem:type>

</ctmem:control_resource>

</ctmem:control_resources>

<ctmem:quantitative_resources>

<ctmem:quantitative_resource>

<ctmem:resource>DL</ctmem:resource>

<ctmem:quantity>30</ctmem:quantity>

</ctmem:quantitative_resource>

</ctmem:quantitative_resources>

</ctmem:active_job>

</ctmem:request_create_aj>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Parent Topic

Job creation examples