Chapter Contents

Previous

Next
VINFORMAT

VINFORMAT



Returns the informat that is associated with the specified variable

Category: Variable Information


Syntax
Arguments
Details
Comparisons
Examples
See Also

Syntax

VINFORMAT (var)

Arguments

var
specifies a variable, expressed as a scalar or as an array reference.
Restriction: You cannot use an expression as an argument.


Details

VINFORMAT returns the complete informat name, which includes the width and the period (for example, $CHAR20.).


Comparisons


Examples

SAS Statements Results
informat x $char6.;
input x;
y=vinformat(x);
put y=;

 


y=$CHAR6.


See Also

Functions:

"Variable Information" functions in


Chapter Contents

Previous

Next

Top of Page

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