Chapter Contents

Previous

Next
Data Set Data Model: _addComputedColumn

Data Set Data Model: _addComputedColumn



Adds a computed column that gets its value from SCL


Syntax
Details

Syntax

CALL SEND (object-id, '_addComputedColumn', attr-list);

Argument Type Description
attr-list
N specifies the identifier of an SCL list that contains the attributes for the computed column


Details

Only the NAME item is required, but any column attributes accepted by the _setColumnAttributes method can be passed in this list. If no type is specified, numeric is the default.

Data values for the computed column can be assigned or queried using SCL code. The computed column is added at the end of the row in the data vector. The viewer, if any, determines if the column should be displayed and how to display it.

Note:   The _addComputedColumn method cannot be called from the model's SCL entry.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.