Language Reference

File I/O Functions

ATTRCreturns the value of a character attribute for a SAS data set
ATTRNreturns the value of a numeric attribute for the specified SAS data set
CEXISTverifies the existence of a SAS catalog or SAS catalog entry and returns a value
CLOSEcloses a SAS data set and returns a value
CUROBSreturns the observation number of the current observation
DROPNOTEdeletes a note marker from a SAS data set or an external file and returns a value
DSNAMEreturns the SAS data set name that is associated with a data set identifier
EXISTverifies the existence of a SAS data library member
FETCHreads the next nondeleted observation from a SAS data set into the Data Set Data Vector (DDV) and returns a value
FETCHOBSreads a specified observation from a SAS data set into the Data Set Data Vector (DDV) and returns a value
GETVARCreturns the value of a SAS data set character variable
GETVARNreturns the value of a SAS data set numeric variable
LIBNAMEassigns or deassigns a libref for a SAS data library and returns a value
LIBREFverifies that a libref has been assigned and returns a value
NOTEreturns an observation ID for the current observation of a SAS data set
OPENopens a SAS data set and returns a value
PATHNAMEreturns the physical name of a SAS data library or of an external file, or returns a blank
POINTlocates an observation identified by the NOTE function and returns a value
REWINDpositions the data set pointer at the beginning of a SAS data set and returns a value
SYSMSGreturns the text of error messages or warning messages from the last data set or external file function execution
SYSRCreturns a system error number
VARFMTreturns the format assigned to a SAS data set variable
VARINFMTreturns the informat assigned to a SAS data set variable
VARLABELreturns the label assigned to a SAS data set variable
VARLENreturns the length of a SAS data set variable
VARNAMEreturns the name of a SAS data set variable
VARNUMreturns the number of a variable's position in a SAS data set
VARTYPEreturns the data type of a SAS data set variable

Previous Page | Next Page | Top of Page