Chapter Contents

Previous

Next
Organizational Chart: _saveAs

Organizational Chart: _saveAs



Creates a data set or SLIST entry from the organizational chart data


Syntax
_saveAs List Items
Details

Syntax

CALL NOTIFY (orgchart-name, '_saveAs'<, savelist>);

Argument Type Description
savelist
N specifies the identifier of an SCL list containing one or more of the items in _saveAs List Items. A missing value is interpreted as 0 for numeric items.

_saveAs List Items
List Item Type Description
'DATASET' C names the data set to write to.
'LEVELS' N specifies the number of tree levels down from the node where saving begins to save. Specify 0 to save all levels.
'NODEID' N specifies the numeric identifier of the node where the save begins. If omitted, the save begins at the root of the tree.
'SETUP' N indicates whether to open the Save Options window:


0 do not open


^=0 open (default)
'SLIST' C specifies the name of the SLIST entry to write to if you wish to save the tree in a catalog SLIST entry instead of a data set. Use the SCL function FILLIST to initialize a list that can populate another organizational chart.


Details

This method also provides a way to convert data sets with parenting information to data sets with level numbers. Datasets with level numbers can be read in faster than data sets with parenting information because no searching is required for each observation when building the tree.


Chapter Contents

Previous

Next

Top of Page

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