Supplying a Parameter Value Using a Constant

When connections need parameters with constant input values, provide these values through the settings window of the incomplete connection, as follows:

  1. Open settings for the incomplete connection by selecting Open Settings from the pop-up menu. The settings window of the incomplete connection appears.

  2. Select Set parameters. The Constant Parameter Value Settings window appears showing the parameters for which you can set constant values.

  3. Enter the constant parameter values you want to use.

    Type the parameter values just as you would type them as parameters for the member function if you were coding it by hand. For example, to provide a constant value for a text parameter, enter the string that you want the parameter to receive. VisualAge copies these values as strings to the output files when you generate code.

  4. Do one of the following:


Related concepts
Parameter Connections

Related procedures
Opening Connection Settings
Supplying a Parameter Value Using a Connection
Specifying Default Values for Parameters