Consumption Analytics Documentation

Home > Documentation for older versions > Cloud Cruiser 3 > Administering > Running jobs > Job arguments

Job arguments

Table of contents
No headers

Job arguments are run-time variables passed to a job from the command line or the Job Maintenance page. Arguments are passed as name-value pairs and can be referenced from anywhere in the job XML file.

Example: to pass job arguments named usageYMD and count, you could run a job with the following command:

# ccjob -f demodata usageYMD=20110227 count=10000

To reference an argument’s value within the job, use the syntax ${param.<argumentName>}. Continuing the previous example:

<batch:job id="demodata" parent="ccjob">
  <batch:step id="genCCR">
      <bean class="com.cloudcruiser.ccrgenerator.batch.CCRecordGeneratorTasklet">
        <property name="count" value="${param.count}"/>
        <property name="output" ref="generatedFile"/>
        <property name="usageYMD" value="${param.usageYMD}"/>
Last modified


This page has no custom tags.


This page has no classifications.

 (c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP