Function Description and Syntax
FGET
Copies data from the FDB. %SYSFUNC(FGET(file-
id,cval<,length>))
FILEEXIST Verifies the existence of an external file by its physical name.
%SYSFUNC(FILEEXIST(file-name))
FILENAME Assigns or deassigns a fileref for an external file, directory, or output
device. %SYSFUNC(FILENAME(fileref,file-
name<,device<,host-options<,dir-ref>>>))
FILEREF Verifies that a fileref has been assigned for the current SAS session.
%SYSFUNC(FILEREF(fileref))
FINFO Returns a specified information item for a file.
%SYSFUNC(FINFO(file-id,info-item))
FNOTE
Identifies the last record that was read. %SYSFUNC(FNOTE(file-
id))
FOPEN
Opens an external file. %SYSFUNC(FOPEN(fileref<,open-
mode<,record-length<,record-format>>>))
FOPTNAME Returns the name of an information item for an external file.
%SYSFUNC(FOPTNAME(file-id,nval))
FOPTNUM Returns the number of information items available for an external file.
%SYSFUNC(FOPTNUM(file-id))
FPOINT Positions the read pointer on the next record to be read.
%SYSFUNC(FPOINT(file-id,note-id))
FPOS Sets the position of the column pointer in the FDB.
%SYSFUNC(FPOS(file-id,nval))
FPUT Moves data to the FDB of an external file starting at the current column
position. %SYSFUNC(FPUT(file-id,cval))
FREAD Reads a record from an external file into the FDB.
%SYSFUNC(FREAD(file-id))
FREWIND Positions the file pointer at the first record.
%SYSFUNC(FREWIND(file-id))
FRLEN Returns the size of the last record read, or the current record size for a
file opened for output. %SYSFUNC(FRLEN(file-id))
FSEP Sets the token delimiters for the FGET function.
%SYSFUNC(FSEP(file-id,cval))
FWRITE
Writes a record to an external file. %SYSFUNC(FWRITE(file-
id<,cc>))
Functions and Arguments for %SYSFUNC 441