StateDMI / Command / WriteOperationalRightsToStateMod
Overview
The WriteOperationalRightsToStateMod command (for StateMod)
writes operational rights that have been defined to a StateMod operational rights file.
This command is used to facilitate automated testing but is not currently used in modeling.
Command Editor
The following dialog is used to edit the command and illustrates the command syntax.
 
WriteOperationalRightsToStateMod Command Editor (see also the full-size image)
Command Syntax
The command syntax is as follows:
WriteOperationalRightsToStateMod(Parameter="Value",...)
Command Parameters
| Parameter | Description | Default | 
|---|---|---|
| OutputFilerequired | The name of the output file to write. | None – must be specified. | 
| WriteHow | OverwriteFileif the file should be overwritten orUpdateFileif the file should be updated, resulting in the previous header being carried forward. | OverwriteFile | 
Examples
See the automated tests.