![]() |
Consumption Analytics Documentation |
You can reference system and workbook properties from within either a collection or a flow as system parameters. This enables you to do things like specify a file path based on the system’s usage directory or compare a date against the selection date against which the job was run.
You can also create your own workbook parameters to pass values to a collection or flow at run time. For more information, see ETL workbooks.
The following table lists all system parameters using the syntax with which you reference them from a flow or batch job. Many of these parameters reference directories explained in Directory structure:
Variable | Description |
---|---|
| System installation directory |
| Name of the current job. This might be a collection or flow from a workbook, a legacy batch job, an internal job, or a report job. |
| Name of the current process. In the case of a collection or flow, this is the workbook name. |
| Select date in |
| Day of the month of the select date, as two digits |
| Month of the select date, as two digits |
| Year of the select date, as four digits |
| Beginning of the select date, in milliseconds, since the beginning of the Unix epoch. For more information, see Unix time. |
| End of the select date, in milliseconds, since the beginning of the Unix epoch. |
| Time zone of the Cloud Cruiser server |
| Directory for job files |
| Root directory for all batch logs |
| Root directory for all processing. Each process creates a child directory here. |
| Directory for the current process |
| Directory for sample jobs |
| Default location for scripts to execute as job step |
| Directory for email templates |
| Default location for usage data not in CC Record file format |
In this example, the system parameter ${env.baseDir}
is part of a file resource specification.
<bean id="sampleCSVReader" class="com.cloudcruiser.batch.collect.SmartFlatFileCollector"> <property name="resource" value="file:${env.baseDir}/samples/sample.csv.txt" /> <property name="feedConfig" ref="sampleCSVFeed"/> </bean>
(c) Copyright 2017-2020 Hewlett Packard Enterprise Development LP