Chapter Contents

Previous

Next
Data Form and Data Table: _setSource

Data Form and Data Table: _setSource



Sets the source entry to associate with the model

Delegated to: Data Set Data Model class


Syntax
Details

Syntax

CALL SEND (model-id, '_setSource', source<, compile>);

Argument Type Description
source
C specifies the source entry to associate with the model:


'*' an asterisk specifies to use the source entry saved in the DATAFORM catalog entry
compile
C specifies whether source should be compiled:


'Y' source will be compiled


'N' source will not be compiled


Details

You can set the source argument to '*' (an asterisk) to indicate to use the source entry saved in the DATAFORM catalog entry. The source entry saved with the DATAFORM entry is the source entry that was specified the last time a data form object or data table object using that DATAFORM entry was saved. Setting source to '*' has the effect of setting the source entry to this source entry associated with the DATAFORM entry in the attributes screen for the data form object or data table object.

If a previous source entry exists, its DFTERM label will run. Then the _setSource method will run the new source entry's DFINIT label. For more information, see the Data Set Data Model class.


Chapter Contents

Previous

Next

Top of Page

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