Chapter Contents

Previous

Next
SAS Data File: _getType

SAS Data File: _getType



Retrieves the type of the data file for a SAS Data File object


Syntax
Details
Example

Syntax

CALL SEND (datafile-object-id, '_getType', datafile-type);

Argument Type Description
datafile-type
C returns the data file type for the data file that is associated with datafile-object-id


Details

Most SAS data sets do not have a specified type. However, there are several specially structured SAS data sets that are used by some SAS/STAT procedures. These SAS data sets contain special variables and observations, and they are usually created by SAS statistical procedures. For more information about the data set types, see SAS/STAT User's Guide, Version 6, Fourth Edition for more information about data set types used by statistical procedures.


Example

This example returns the SAS data file type for SASUSER.FITNESS (" ") into TYPE:

length type $8;
call send (dfile, '_getType', type);


Chapter Contents

Previous

Next

Top of Page

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