Chapter Contents

Previous

Next
Data Set Data Model: _setDataset

Data Set Data Model: _setDataset



Sets the data set (table) being accessed by the object


Syntax
Details

Syntax

CALL SEND (object-id, '_setDataset', name<, mode<, locking<, option-1<,...option-n>>>>);

Argument Type Description
name
C specifies the name of the new data set (table). The name may include data set options. See SAS Language: Reference,, Version 6,, First Editionfor more information.
mode
C specifies the open mode: 'BROWSE' or 'EDIT'. The default is 'BROWSE'.
locking
C specifies the locking level: 'RECORD' or 'MEMBER'. The default is 'RECORD'. See "control levels" in SAS Component Language: Reference for more information.
option-1<,...option-n> C specifies any additional _setDataset method options:


'BRONLY' prevents editing of the table


'NOADD' prevents the user from adding new rows to the table


'NODELETE' prevents the user from deleting rows in the table


Details

The _setDataset method removes all computed columns defined using the _addComputedColumn method. Recursive calls to _setDataset are not allowed.

Note:   

  [cautionend]


Chapter Contents

Previous

Next

Top of Page

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