Chapter Contents

Previous

Next
GET_DATA Data Vector: _setNumberOfColumns

GET_DATA Data Vector: _setNumberOfColumns



Sets the number of columns in the data vector


Syntax
Details

Syntax

CALL SEND (data-vector-id, '_setNumberOfColumns', num-columns<, return-code>);

Argument Type Description
num-columns
N specifies the number of columns in the GET_DATA data vector
return-code
N returns a code that designates whether the _setNumberOfColumns call is successful:


0 successful


<0 unsuccessful


Details

The _setNumberOfColumns method is valid if the viewer is a form editor or a table editor.

After the GET_DATA data vector is created, _setNumberOfColumns should be called immediately to tell the _getDATA data vector how many columns that instance refers to. This is necessary because _getData and _setData can deal with more than one column at a time.


Chapter Contents

Previous

Next

Top of Page

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