SAS 帮助: FILEVAR=variable defines a variable whose change in value causes the FILE statement to close the current output file and open a new one the next time the FILE statement executes. The next PUT statement that executes writes to the new file that is specified as the value of the FILEVAR= variable.
| Restriction: | The value of a FILEVAR= variable is expressed as a character string that contains a physical filename.[/td] |
| Interaction: | When you use the FILEVAR= option, the file-specification is just a placeholder, not an actual filename or a fileref that has been previously-assigned to a file. SAS uses this placeholder for reporting processing information to the SAS log. It must conform to the same rules as a fileref.[/td] |
| Tip: | This variable, like automatic variables, is not written to the data set. |