Previous
Previous
 
Next
Next


SET1

The SET1 command assigns a single value to a variable, option, relation, or dimension surrogate. When an object has one or more dimensions, the SET1 command assigns the value to the object cell that is in current status.

Since the SET1 command does not loop through a dimensioned object, you can use it in Assign trigger programs to assign a value to an object.

Syntax

SET1 target-name expression 

Parameters

target-name

The name of the target object where the data is assigned and stored. For a list of analytic workspace objects that can be a target object, see Table: Using Objects in Assignment Statements.

expression

The source of the data values to be assigned to the object, see Table: Using Objects in Assignment Statements

Examples

For an example of using SET1, see Example: Setting Values in an ASSIGN Trigger Program.