file
statement specifies the file that is to be written to for the following put statements. FILE file-spec <options> <host-options>;
file
statement: data _null_; file 's:\tq84\some-file.txt'; put "foo" "bar" "baz"; put "one" "two" "three"; put "x" "y" "z"; run;
file
creates a new file by default. In order to append to an existing file, the mod
option must be used: file 'p:\ath\to\file.txt' ~mod~
.