Copies data from the File Data Buffer (FDB) into a variable.
Category: | External Files |
is a numeric variable that specifies the identifier that was assigned when the file was opened, generally by the FOPEN function.
in a DATA step, specifies a character variable to hold the data. In a macro, specifies a macro variable to hold the data. If variable is a macro variable and it does not exist, it is created.
specifies the number of characters to retrieve from the FDB. If length is specified, only the specified number of characters is retrieved (or the number of characters remaining in the buffer if that number is less than length). If length is omitted, all characters in the FDB from the current column position to the next delimiter are returned. The default delimiter is a blank. The delimiter is not retrieved.
See | The FSEP Function for more information about delimiters. |