Copies the contents of an external file into the current window
CMS specifics: |
file specification
|
INCLUDE
fileref(filename<filetype>)
|
INCLUDE
'filename<filetype> <filemode |
* | SFS-directory'>
|
The
INCLUDE command is available in the PROGRAM EDITOR window as well as in any
other window that uses the SAS Text Editor, such as the NOTEPAD window.
Here are some example file specifications for the INCLUDE
command:
- INCLUDE MYPGM
- where MYPGM is a fileref that was previously
associated with the external file.
- INCLUDE MYPGM(PGM1)
- where PGM1 is a member of the aggregate
external file that is associated with the fileref MYPGM. The filetype is assumed
to be SAS.
- INCLUDE MYDIR(MYJOB IN)
- where MYDIR is a fileref assigned to an aggregate external
file, which could be an SFS directory or a CMS minidisk.
- INCLUDE 'MYJOB IN A'
- for a regular CMS
file.
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.