Chapter Contents

Previous

Next
Data Set Data Vector: _setNumberOfColumns

Data Set Data Vector: _setNumberOfColumns



Specifies the number of columns to set up in the data vector


Syntax
Details

Syntax

CALL SEND (data-vector-id, '_setNumberOfColumns', cols, ds-object);

Argument Type Description
cols
N specifies the new number of columns for the data vector
ds-object
N specifies the object identifier for the instance of the Data Set Model class with which this instance of the Data Set Data Vector class is used.


Details

You must call the _setNumberOfColumns method before passing the identifier of this Data Set Data Vector instance to any methods of the Data Set Model class. This method initializes the column information. Passing an instance of the Data Set Data Vector class to the Data Set Model class before calling this method results in a program halt. The _setNumberOfColumns method should be called after a call to _setDataset on the instance of the Data Set Model class.


Chapter Contents

Previous

Next

Top of Page

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