Skip to main content

Command-Line Parameters

The following parameters are available for use in the Post-Processing Command text field.

ParameterDescriptionReport Types
$outputDirName of the output directory of the external copy of the generated reportAll
$outputFilesComma-separated list of names of output report filesAll
$errorStatusIndicates whether a report ran successfully.All
$errorLineError description (can be empty).All
$reportTypeThe report type that was run.All
$userThe FlexNet user who ran the report.All
$featuresComma-separated list of features included in the report.All
$serversComma-separated list of license servers included in the reportAll
$vendorDaemonsComma-separated list of vendor daemons included in the reportAll
$startDateStart date of the report.All
$endDateEnd date of the reportAll
$showZeroIndicates where unused features are includedHigh Water Mark, Summary Barchart, Usage Over Time, Usage Summary
$filterComma-separated list of filter expressionsRaw
$eventFilterComma-separated list of event filtersAll
$delimiterField delimiter on reportsAll reports except Summary Barchart and Server Coverage
$showAvailIndicates whether a group of available licenses is also on graphs (Usage Over Time)High Water Mark, Usage Over Time
$elimFalseDenialsDenial elimination algorithm is turned on and has the specified windowRaw, Usage Summary
$sortOrderSort order of the records on the reportAll
$featureUniqMode of feature identificationAll
$timeInSecondsShow time value in RIF files as UNIX seconds since 00:00:00 January 1, 1970 GMTRaw
note

You should use parameters that are applicable to the report type you are defining. Using parameters not applicable to the report type will result in indeterminate values at run time.

Parameters that can have an empty value ($features, $servers, $vendorDaemons, $filter, $eventFilter) should be used only in cases where the corresponding report configuration values are not empty. If the report configuration setting does not contain a value for a specified parameter, no argument will be emitted, which can cause the argument interpreter in the post-processing script to confuse the next argument with the value of the current argument.

Example: The list of servers is specified ($servers), but in the License Server Host selection on the Naming page (step 1) of the Report Configuration Wizard, none has been selected (indicating to run the report for all license server hosts). Then no argument will be emitted by the post-processing invocation. In case another parameter is specified, the argument evaluation logic can easily mistake the value for the next argument as the list of servers.

After you specify the post-processing expression, you can complete the report configuration. When you finish the report configuration, FlexNet Manager for Engineering Applications validates the external output directory and the post-processing expression.

After saving the report configuration, you can run the report. FlexNet Manager for Engineering Applications will generate the report, copy the report to the external directory, and then invoke the post-processing script.

See Also

Specifying Post-Processing Options

Testing Post-Processing Scripts

Error Scenarios

Report Post-Processing Examples