Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
File Access

Summary

In this chapter, you learned how to refer to, or point to, an external file with a FILENAME statement. You can use the FILENAME statement whether you want to read from or write to an external file. The file can also be referenced by a quoted literal filepath. You also learned about the difference between a text file and a binary file.

You learned how to read data from an external file with the INFILE and INPUT statements, using either list or formatted input. You learned how to write your matrices to an external file using the FILE and PUT statements. Finally, you learned how to close your files.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.