Initialization (Variables Dialog Box)
The following options allow you to define when and how to initialize each variable
after the model file has been copied to the Host Integrator Server:
- Initialize variable
- Select one of the settings below to specify when a variable should be initialized.
Note: If a model variable is mapped to a setting, the Current Value
displayed in Properties is the initialization
- Initialize variable with default valueIf you select this
option, the variable will be initialized with the value specified in the
Default value box during Host Integrator Server execution. In the
Design Tool, the variable is initialized with the value specified in the
Design default box.
- Require initialization at client connectIf you select this
option, the server will require that an initial value be provided at runtime.
This value may be passed as part of the Connect() API function, or it
can be provided using the Administrative WebStation's Model
Variable Lists while configuring the model. When using the latter
option, the value from the Model Variable List is restored each time the
client connects. Failure to provide a value will result in an initialization
exception. When a user is connecting to a host from the Design Tool, the
user is prompted with a dialog box to enter values for all variables marked
with this option.
- Variable not initializedIf you select this option, variables
with this setting will remain uninitialized through session initialization.
From within the Design Tool, right before an operation is performed, the
user is prompted with a dialog box to enter values for all variables used
in that operation that are marked with this option. The variable remains
uninitialized until a value is written to the variable by an operation
or a Host Integrator connector method.
If values are always supplied by model variable list entries or session
pool model variable configuration, it is appropriate to select this option
to avoid user prompting.
Note: If an uninitialized variable is accessed by a Host Integrator
Server (for example, if a WriteVarToLocation command is issued), the server
will issue an exception and halt the current activity.
- Default value
- Type the default value that will represent the selected variable on the
Host Integrator Server.
- Design default
- Type the default value that will represent the selected variable in the
© 1999-2007 Attachmate Corporation. All rights reserved.