Chapter Contents

Previous

Next
VARFMT

VARFMT



Returns the format assigned to a SAS data set variable

Category: SAS File I/O


Syntax
Arguments
Details
Examples
See Also

Syntax

VARFMT(data-set-id,var-num)

Arguments

data-set-id
specifies the data set identifier that the OPEN function returns.

var-num
specifies the number of the variable's position in the SAS data set.
Tip: This number is next to the variable in the list that is produced by the CONTENTS procedure.
Tip: The VARNUM function returns this number.


Details

If no format has been assigned to the variable, a blank string is returned.


Examples


See Also

Functions:

VARINFMT
VARNUM


Chapter Contents

Previous

Next

Top of Page

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